home *** CD-ROM | disk | FTP | other *** search
/ Computer Inter@ctive 16 / Computer Interactive cdrom 16 - dic 98.iso / zdnetit / content / CMATHCC.ZIP / DOC.ZIP next >
PKZip Archive  |  1998-09-01  |  47.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: PKZip Archive (archive/zip).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert PKZip Archive (archive/zip) magic Supported
100% file Zip archive data, made by v2.0, extract using at least v1.0, last modified, last modified Sun, Sep 01 1998 01:22:00, uncompressed size 4652, method=store default
99% file Zip archive, with extra data prepended default
98% file data default
66% TrID Mozilla Firefox browser extension default (weak)
33% TrID ZIP compressed archive default
100% dexmagic PrintFox/Pagefox WEAK default
100% siegfried x-fmt/263 ZIP Format default
100% lsar Zip default
100% gt2 ZIP Archiv gefunden (Auflistung ist deaktiviert) default
100% detectItEasy Archive: Zip(1.0)[100.0%,5 files] default
100% binwalkID Zip archive data, at least v1.0 to extract, compressed size: 4652, uncompressed size: 4652, name: README.TXT default
100% xdgMime application/zip default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 4b 03 04 0a 00 00 00 | 00 00 c0 0a 21 25 11 5c |PK......|....!%.\|
|00000010| 1c 2c 2c 12 00 00 2c 12 | 00 00 0a 00 00 00 52 45 |.,,...,.|......RE|
|00000020| 41 44 4d 45 2e 54 58 54 | 20 20 20 20 20 20 da c4 |ADME.TXT| ..|
|00000030| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000040| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000050| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000060| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 bf 0d |........|........|
|00000070| 0a 20 20 20 20 20 20 b3 | 20 20 20 20 20 20 20 20 |. .| |
|00000080| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000090| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000b0| 20 20 20 20 20 20 20 b3 | 0d 0a 20 20 20 20 20 20 | .|.. |
|000000c0| b3 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000000d0| 20 20 20 43 20 4d 20 41 | 20 54 20 48 20 66 6f 72 | C M A| T H for|
|000000e0| 20 42 6f 72 6c 61 6e 64 | 20 43 20 2f 20 43 2b 2b | Borland| C / C++|
|000000f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000100| b3 0d 0a 20 20 20 20 20 | 20 b3 20 20 20 20 20 20 |... | . |
|00000110| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 62 79 20 | | by |
|00000120| 4d 61 72 74 69 6e 20 53 | 61 6e 64 65 72 20 31 39 |Martin S|ander 19|
|00000130| 39 36 2d 31 39 39 38 20 | 20 20 20 20 20 20 20 20 |96-1998 | |
|00000140| 20 20 20 20 20 20 20 20 | 20 b3 0d 0a 20 20 20 20 | | ... |
|00000150| 20 20 b3 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | . | |
|00000160| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000170| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000180| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000190| 20 20 b3 0d 0a 20 20 20 | 20 20 20 b3 20 20 20 20 | ... | . |
|000001a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000001b0| 53 68 61 72 65 77 61 72 | 65 20 56 65 72 73 69 6f |Sharewar|e Versio|
|000001c0| 6e 20 31 2e 32 2e 31 20 | 20 20 20 20 20 20 20 20 |n 1.2.1 | |
|000001d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 b3 0d 0a 20 | | ... |
|000001e0| 20 20 20 20 20 c0 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 | ...|........|
|000001f0| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000200| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000210| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000220| c4 c4 c4 c4 c4 d9 0d 0a | 0d 0a 31 2e 20 57 68 61 |........|..1. Wha|
|00000230| 74 20 69 73 20 43 4d 41 | 54 48 3f 0d 0a 2d 2d 2d |t is CMA|TH?..---|
|00000240| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 0a |--------|------..|
|00000250| 44 69 64 6e 27 74 20 79 | 6f 75 20 61 6c 72 65 61 |Didn't y|ou alrea|
|00000260| 64 79 20 66 65 65 6c 20 | 61 6e 67 72 79 20 61 62 |dy feel |angry ab|
|00000270| 6f 75 74 20 74 68 65 20 | 73 6c 6f 77 2c 20 69 6e |out the |slow, in|
|00000280| 61 63 63 75 72 61 74 65 | 2c 20 6f 72 20 65 76 65 |accurate|, or eve|
|00000290| 6e 20 66 61 69 6c 69 6e | 67 0d 0a 63 6f 6d 70 6c |n failin|g..compl|
|000002a0| 65 78 2d 6e 75 6d 62 65 | 72 20 20 66 75 6e 63 74 |ex-numbe|r funct|
|000002b0| 69 6f 6e 73 20 6f 66 20 | 79 6f 75 72 20 43 2f 43 |ions of |your C/C|
|000002c0| 2b 2b 20 63 6f 6d 70 69 | 6c 65 72 3f 20 4f 72 20 |++ compi|ler? Or |
|000002d0| 64 69 64 20 79 6f 75 20 | 70 65 72 68 61 70 73 20 |did you |perhaps |
|000002e0| 72 65 67 72 65 74 0d 0a | 74 68 61 74 20 63 6f 6d |regret..|that com|
|000002f0| 70 6c 65 78 20 6e 75 6d | 62 65 72 73 20 61 72 65 |plex num|bers are|
|00000300| 20 6f 66 66 65 72 65 64 | 20 6f 6e 6c 79 20 62 79 | offered| only by|
|00000310| 20 43 2b 2b 2c 20 62 75 | 74 20 6e 6f 74 20 62 79 | C++, bu|t not by|
|00000320| 20 43 3f 0d 0a 0d 0a 43 | 4d 41 54 48 20 69 73 20 | C?....C|MATH is |
|00000330| 61 20 63 6f 6d 70 72 65 | 68 65 6e 73 69 76 65 20 |a compre|hensive |
|00000340| 6c 69 62 72 61 72 79 20 | 66 6f 72 20 63 6f 6d 70 |library |for comp|
|00000350| 6c 65 78 20 61 72 69 74 | 68 6d 65 74 69 63 73 20 |lex arit|hmetics |
|00000360| 61 6e 64 20 6d 61 74 68 | 65 6d 61 74 69 63 73 2e |and math|ematics.|
|00000370| 0d 0a 49 6e 20 74 68 65 | 20 66 69 72 73 74 20 70 |..In the| first p|
|00000380| 6c 61 63 65 2c 20 43 4d | 41 54 48 20 69 73 20 69 |lace, CM|ATH is i|
|00000390| 6e 74 65 6e 64 65 64 20 | 61 73 20 61 20 68 69 67 |ntended |as a hig|
|000003a0| 68 2d 71 75 61 6c 69 74 | 79 20 72 65 70 6c 61 63 |h-qualit|y replac|
|000003b0| 65 6d 65 6e 74 20 6f 66 | 20 74 68 65 0d 0a 63 6f |ement of| the..co|
|000003c0| 6d 70 6c 65 78 20 63 6c | 61 73 73 20 6c 69 62 72 |mplex cl|ass libr|
|000003d0| 61 72 69 65 73 20 63 6f | 6d 69 6e 67 20 77 69 74 |aries co|ming wit|
|000003e0| 68 20 43 2b 2b 20 63 6f | 6d 70 69 6c 65 72 73 2e |h C++ co|mpilers.|
|000003f0| 20 49 6e 20 61 64 64 69 | 74 69 6f 6e 2c 20 61 6c | In addi|tion, al|
|00000400| 6c 0d 0a 66 75 6e 63 74 | 69 6f 6e 73 20 6f 66 20 |l..funct|ions of |
|00000410| 43 4d 41 54 48 20 6d 61 | 79 20 62 65 20 63 61 6c |CMATH ma|y be cal|
|00000420| 6c 65 64 20 66 72 6f 6d | 20 43 2c 20 77 69 74 68 |led from| C, with|
|00000430| 6f 75 74 20 74 68 65 20 | 6e 65 63 65 73 73 69 74 |out the |necessit|
|00000440| 79 20 74 6f 20 75 73 65 | 20 43 2b 2b 2e 0d 0a 0d |y to use| C++....|
|00000450| 0a 53 75 70 65 72 69 6f | 72 20 73 70 65 65 64 2c |.Superio|r speed,|
|00000460| 20 61 63 63 75 72 61 63 | 79 20 61 6e 64 20 73 61 | accurac|y and sa|
|00000470| 66 65 74 79 20 61 72 65 | 20 61 63 68 69 65 76 65 |fety are| achieve|
|00000480| 64 20 74 68 72 6f 75 67 | 68 20 74 68 65 20 69 6d |d throug|h the im|
|00000490| 70 6c 65 6d 65 6e 74 61 | 74 69 6f 6e 0d 0a 69 6e |plementa|tion..in|
|000004a0| 20 41 73 73 65 6d 62 6c | 79 20 6c 61 6e 67 75 61 | Assembl|y langua|
|000004b0| 67 65 20 28 61 73 20 6f | 70 70 6f 73 65 64 20 74 |ge (as o|pposed t|
|000004c0| 6f 20 74 68 65 20 43 2b | 2b 20 63 6f 64 65 20 6f |o the C+|+ code o|
|000004d0| 66 20 74 68 65 20 63 6f | 6d 6d 6f 6e 20 63 6f 6d |f the co|mmon com|
|000004e0| 70 6c 65 78 20 63 6c 61 | 73 73 0d 0a 6c 69 62 72 |plex cla|ss..libr|
|000004f0| 61 72 69 65 73 29 2e 0d | 0a 0d 0a 45 61 63 68 20 |aries)..|...Each |
|00000500| 6f 66 20 74 68 65 20 74 | 68 72 65 65 20 66 6c 6f |of the t|hree flo|
|00000510| 61 74 69 6e 67 2d 70 6f | 69 6e 74 20 61 63 63 75 |ating-po|int accu|
|00000520| 72 61 63 69 65 73 20 28 | 66 6c 6f 61 74 2c 20 64 |racies (|float, d|
|00000530| 6f 75 62 6c 65 2c 20 61 | 6e 64 20 65 78 74 65 6e |ouble, a|nd exten|
|00000540| 64 65 64 29 0d 0a 69 73 | 20 67 69 76 65 6e 20 69 |ded)..is| given i|
|00000550| 74 73 20 6f 77 6e 2c 20 | 6f 70 74 69 6d 69 7a 65 |ts own, |optimize|
|00000560| 64 20 76 65 72 73 69 6f | 6e 20 6f 66 20 65 61 63 |d versio|n of eac|
|00000570| 68 20 66 75 6e 63 74 69 | 6f 6e 2e 0d 0a 0d 0a 0d |h functi|on......|
|00000580| 0a 32 2e 20 53 79 73 74 | 65 6d 20 72 65 71 75 69 |.2. Syst|em requi|
|00000590| 72 65 6d 65 6e 74 73 0d | 0a 2d 2d 2d 2d 2d 2d 2d |rements.|.-------|
|000005a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |--------|-------.|
|000005b0| 0a 54 68 69 73 20 76 65 | 72 73 69 6f 6e 20 6f 66 |.This ve|rsion of|
|000005c0| 20 43 4d 41 54 48 20 69 | 73 20 64 65 73 69 67 6e | CMATH i|s design|
|000005d0| 65 64 20 66 6f 72 20 49 | 42 4d 20 41 54 2c 20 50 |ed for I|BM AT, P|
|000005e0| 53 2f 32 20 6f 72 20 63 | 6f 6d 70 61 74 69 62 6c |S/2 or c|ompatibl|
|000005f0| 65 73 2c 0d 0a 65 71 75 | 69 70 70 65 64 20 61 74 |es,..equ|ipped at|
|00000600| 20 6c 65 61 73 74 20 77 | 69 74 68 20 61 20 38 30 | least w|ith a 80|
|00000610| 33 38 36 20 43 50 55 20 | 61 6e 64 20 61 20 38 30 |386 CPU |and a 80|
|00000620| 33 38 37 20 63 6f 70 72 | 6f 63 65 73 73 6f 72 2e |387 copr|ocessor.|
|00000630| 0d 0a 46 6f 72 20 42 6f | 72 6c 61 6e 64 20 43 2b |..For Bo|rland C+|
|00000640| 2b 20 28 54 75 72 62 6f | 20 43 2b 2b 29 2c 20 76 |+ (Turbo| C++), v|
|00000650| 65 72 73 69 6f 6e 20 33 | 2e 30 20 6f 72 20 68 69 |ersion 3|.0 or hi|
|00000660| 67 68 65 72 2c 20 6d 65 | 6d 6f 72 79 20 6d 6f 64 |gher, me|mory mod|
|00000670| 65 6c 73 20 57 69 6e 33 | 32 2c 0d 0a 57 69 6e 64 |els Win3|2,..Wind|
|00000680| 6f 77 73 2d 4c 41 52 47 | 45 2c 20 6f 72 20 20 44 |ows-LARG|E, or D|
|00000690| 4f 53 2d 4c 41 52 47 45 | 20 28 64 65 70 65 6e 64 |OS-LARGE| (depend|
|000006a0| 69 6e 67 20 6f 6e 20 63 | 68 6f 69 63 65 20 77 68 |ing on c|hoice wh|
|000006b0| 65 6e 20 6f 72 64 65 72 | 69 6e 67 20 6f 72 0d 0a |en order|ing or..|
|000006c0| 64 6f 77 6e 6c 6f 61 64 | 69 6e 67 29 2e 0d 0a 52 |download|ing)...R|
|000006d0| 65 67 69 73 74 65 72 65 | 64 20 76 65 72 73 69 6f |egistere|d versio|
|000006e0| 6e 3a 20 61 6c 6c 20 6d | 65 6d 6f 72 79 20 6d 6f |n: all m|emory mo|
|000006f0| 64 65 6c 73 3b 20 73 65 | 70 61 72 61 74 65 20 6c |dels; se|parate l|
|00000700| 69 62 72 61 72 69 65 73 | 20 6f 70 74 69 6d 69 7a |ibraries| optimiz|
|00000710| 65 64 20 66 6f 72 0d 0a | 61 6c 6c 20 70 72 6f 63 |ed for..|all proc|
|00000720| 65 73 73 6f 72 73 20 66 | 72 6f 6d 20 34 38 36 44 |essors f|rom 486D|
|00000730| 58 2f 50 65 6e 74 69 75 | 6d 20 64 6f 77 6e 20 74 |X/Pentiu|m down t|
|00000740| 6f 20 32 38 36 20 77 69 | 74 68 20 6f 72 20 77 69 |o 286 wi|th or wi|
|00000750| 74 68 6f 75 74 20 63 6f | 70 72 6f 63 65 73 73 6f |thout co|processo|
|00000760| 72 2e 0d 0a 0d 0a 0d 0a | 33 2e 20 49 6e 73 74 61 |r.......|3. Insta|
|00000770| 6c 6c 61 74 69 6f 6e 0d | 0a 2d 2d 2d 2d 2d 2d 2d |llation.|.-------|
|00000780| 2d 2d 2d 2d 2d 2d 2d 2d | 0d 0a 50 6c 65 61 73 65 |--------|..Please|
|00000790| 20 72 75 6e 20 74 68 65 | 20 69 6e 73 74 61 6c 6c | run the| install|
|000007a0| 61 74 69 6f 6e 20 70 72 | 6f 67 72 61 6d 20 49 4e |ation pr|ogram IN|
|000007b0| 53 54 41 4c 4c 2e 45 58 | 45 2e 20 49 66 20 61 6e |STALL.EX|E. If an|
|000007c0| 79 74 68 69 6e 67 20 67 | 6f 65 73 20 77 72 6f 6e |ything g|oes wron|
|000007d0| 67 2c 0d 0a 79 6f 75 20 | 6d 61 79 20 74 72 79 20 |g,..you |may try |
|000007e0| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 3a 0d 0a |the foll|owing:..|
|000007f0| 20 20 20 61 29 20 43 72 | 65 61 74 65 20 74 68 65 | a) Cr|eate the|
|00000800| 20 64 69 72 65 63 74 6f | 72 79 20 77 68 65 72 65 | directo|ry where|
|00000810| 20 79 6f 75 20 77 61 6e | 74 20 43 4d 41 54 48 20 | you wan|t CMATH |
|00000820| 74 6f 20 72 65 73 69 64 | 65 2e 0d 0a 20 20 20 62 |to resid|e... b|
|00000830| 29 20 4d 61 6e 75 61 6c | 6c 79 20 75 6e 7a 69 70 |) Manual|ly unzip|
|00000840| 20 74 68 65 20 66 69 6c | 65 20 44 4f 43 2e 5a 49 | the fil|e DOC.ZI|
|00000850| 50 20 69 6e 74 6f 20 69 | 74 2e 0d 0a 20 20 20 63 |P into i|t... c|
|00000860| 29 20 43 72 65 61 74 65 | 20 61 20 73 75 62 2d 64 |) Create| a sub-d|
|00000870| 69 72 65 63 74 6f 72 79 | 20 2f 4c 49 42 20 61 6e |irectory| /LIB an|
|00000880| 64 20 75 6e 7a 69 70 20 | 74 68 65 20 66 69 6c 65 |d unzip |the file|
|00000890| 20 4c 49 42 2e 5a 49 50 | 20 69 6e 74 6f 20 69 74 | LIB.ZIP| into it|
|000008a0| 2e 0d 0a 20 20 20 64 29 | 20 43 72 65 61 74 65 20 |... d)| Create |
|000008b0| 61 20 73 75 62 2d 64 69 | 72 65 63 74 6f 72 79 20 |a sub-di|rectory |
|000008c0| 2f 49 4e 43 4c 55 44 45 | 20 61 6e 64 20 75 6e 7a |/INCLUDE| and unz|
|000008d0| 69 70 20 74 68 65 20 66 | 69 6c 65 20 49 4e 43 4c |ip the f|ile INCL|
|000008e0| 55 44 45 2e 5a 49 50 20 | 69 6e 74 6f 20 69 74 2e |UDE.ZIP |into it.|
|000008f0| 0d 0a 49 66 20 79 6f 75 | 20 64 6f 6e 27 74 20 73 |..If you| don't s|
|00000900| 75 63 63 65 65 64 20 74 | 68 61 74 20 77 61 79 2c |ucceed t|hat way,|
|00000910| 20 79 6f 75 20 70 72 6f | 62 61 62 6c 79 20 67 6f | you pro|bably go|
|00000920| 74 20 61 20 63 6f 72 72 | 75 70 74 65 64 20 64 6f |t a corr|upted do|
|00000930| 77 6e 6c 6f 61 64 2e 0d | 0a 50 6c 65 61 73 65 20 |wnload..|.Please |
|00000940| 64 6f 77 6e 6c 6f 61 64 | 20 61 67 61 69 6e 2e 20 |download| again. |
|00000950| 49 66 20 65 76 65 6e 20 | 74 68 61 74 20 64 6f 65 |If even |that doe|
|00000960| 73 20 6e 6f 74 20 68 65 | 6c 70 2c 20 70 6c 65 61 |s not he|lp, plea|
|00000970| 73 65 20 63 6f 6e 74 61 | 63 74 3a 0d 0a 4d 61 72 |se conta|ct:..Mar|
|00000980| 74 69 6e 53 61 6e 64 65 | 72 40 42 69 67 66 6f 6f |tinSande|r@Bigfoo|
|00000990| 74 2e 63 6f 6d 2e 0d 0a | 0d 0a 41 66 74 65 72 20 |t.com...|..After |
|000009a0| 79 6f 75 20 63 6f 6d 70 | 6c 65 74 65 64 20 74 68 |you comp|leted th|
|000009b0| 65 20 69 6e 73 74 61 6c | 6c 61 74 69 6f 6e 2c 20 |e instal|lation, |
|000009c0| 79 6f 75 20 6d 75 73 74 | 20 73 65 74 20 74 68 65 |you must| set the|
|000009d0| 20 6c 69 62 72 61 72 79 | 20 73 65 61 72 63 68 20 | library| search |
|000009e0| 70 61 74 68 0d 0a 61 6e | 64 20 74 68 65 20 69 6e |path..an|d the in|
|000009f0| 63 6c 75 64 65 2d 66 69 | 6c 65 20 73 65 61 72 63 |clude-fi|le searc|
|00000a00| 68 20 70 61 74 68 20 61 | 63 63 6f 72 64 69 6e 67 |h path a|ccording|
|00000a10| 20 74 6f 20 79 6f 75 72 | 20 43 4d 41 54 48 20 64 | to your| CMATH d|
|00000a20| 69 72 65 63 74 6f 72 79 | 20 63 68 6f 69 63 65 0d |irectory| choice.|
|00000a30| 0a 28 22 4f 70 74 69 6f | 6e 73 2f 44 69 72 65 63 |.("Optio|ns/Direc|
|00000a40| 74 6f 72 69 65 73 22 20 | 69 6e 20 42 6f 72 6c 61 |tories" |in Borla|
|00000a50| 6e 64 20 43 20 33 2e 78 | 2c 20 22 4f 70 74 69 6f |nd C 3.x|, "Optio|
|00000a60| 6e 73 2f 50 72 6f 6a 65 | 63 74 2f 44 69 72 65 63 |ns/Proje|ct/Direc|
|00000a70| 74 6f 72 69 65 73 22 20 | 69 6e 0d 0a 42 6f 72 6c |tories" |in..Borl|
|00000a80| 61 6e 64 20 43 2b 2b 20 | 34 2e 78 20 61 6e 64 20 |and C++ |4.x and |
|00000a90| 35 2e 78 29 2e 0d 0a 0d | 0a 0d 0a 34 2e 20 52 75 |5.x)....|...4. Ru|
|00000aa0| 6e 6e 69 6e 67 20 74 68 | 65 20 65 78 61 6d 70 6c |nning th|e exampl|
|00000ab0| 65 0d 0a 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |e..-----|--------|
|00000ac0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0d 0a 43 68 65 63 6b |--------|-..Check|
|00000ad0| 20 79 6f 75 72 20 69 6e | 73 74 61 6c 6c 61 74 69 | your in|stallati|
|00000ae0| 6f 6e 20 62 79 20 63 6f | 6d 70 69 6c 69 6e 67 20 |on by co|mpiling |
|00000af0| 61 6e 64 20 72 75 6e 6e | 69 6e 67 20 43 44 45 4d |and runn|ing CDEM|
|00000b00| 4f 2e 43 50 50 2e 20 46 | 6f 6c 6c 6f 77 20 74 68 |O.CPP. F|ollow th|
|00000b10| 65 0d 0a 69 6e 73 74 72 | 75 63 74 69 6f 6e 73 20 |e..instr|uctions |
|00000b20| 69 6e 20 74 68 65 20 68 | 65 61 64 65 72 20 6f 66 |in the h|eader of|
|00000b30| 20 74 68 61 74 20 66 69 | 6c 65 2e 0d 0a 49 66 20 | that fi|le...If |
|00000b40| 79 6f 75 20 67 65 74 20 | 63 6f 6d 70 69 6c 65 72 |you get |compiler|
|00000b50| 20 65 72 72 6f 72 73 20 | 6c 69 6b 65 20 22 43 61 | errors |like "Ca|
|00000b60| 6e 6e 6f 74 20 6f 70 65 | 6e 20 69 6e 63 6c 75 64 |nnot ope|n includ|
|00000b70| 65 20 66 69 6c 65 20 2e | 2e 2e 22 2c 20 6f 72 20 |e file .|..", or |
|00000b80| 61 0d 0a 6c 69 6e 6b 65 | 72 20 65 72 72 6f 72 20 |a..linke|r error |
|00000b90| 22 55 6e 72 65 73 6f 6c | 76 65 64 20 65 78 74 65 |"Unresol|ved exte|
|00000ba0| 72 6e 61 6c 22 2c 20 79 | 6f 75 20 70 72 6f 62 61 |rnal", y|ou proba|
|00000bb0| 62 6c 79 20 64 69 64 20 | 6e 6f 74 20 73 65 74 20 |bly did |not set |
|00000bc0| 74 68 65 20 6c 69 62 72 | 61 72 79 0d 0a 61 6e 64 |the libr|ary..and|
|00000bd0| 20 69 6e 63 6c 75 64 65 | 20 70 61 74 68 73 20 63 | include| paths c|
|00000be0| 6f 72 72 65 63 74 6c 79 | 2e 0d 0a 0d 0a 0d 0a 35 |orrectly|.......5|
|00000bf0| 2e 20 44 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 0d |. Docume|ntation.|
|00000c00| 0a 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.-------|--------|
|00000c10| 2d 0d 0a 54 68 65 20 66 | 75 6c 6c 20 43 4d 41 54 |-..The f|ull CMAT|
|00000c20| 48 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 20 |H docume|ntation |
|00000c30| 69 73 20 74 6f 20 62 65 | 20 66 6f 75 6e 64 20 69 |is to be| found i|
|00000c40| 6e 20 74 68 65 20 66 69 | 6c 65 20 43 4d 41 54 48 |n the fi|le CMATH|
|00000c50| 2e 54 58 54 20 61 73 0d | 0a 41 53 43 49 49 20 74 |.TXT as.|.ASCII t|
|00000c60| 65 78 74 2e 20 49 66 20 | 79 6f 75 20 77 61 6e 74 |ext. If |you want|
|00000c70| 20 74 6f 20 6c 6f 61 64 | 20 74 68 65 20 64 6f 63 | to load| the doc|
|00000c80| 75 6d 65 6e 74 61 74 69 | 6f 6e 20 69 6e 74 6f 20 |umentati|on into |
|00000c90| 61 20 77 6f 72 64 20 70 | 72 6f 63 65 73 73 6f 72 |a word p|rocessor|
|00000ca0| 0d 0a 75 6e 64 65 72 20 | 57 69 6e 64 6f 77 73 2c |..under |Windows,|
|00000cb0| 20 79 6f 75 20 6d 75 73 | 74 20 75 73 65 20 74 68 | you mus|t use th|
|00000cc0| 65 20 66 69 6c 74 65 72 | 20 22 41 53 43 49 49 20 |e filter| "ASCII |
|00000cd0| 74 65 78 74 22 20 6f 72 | 20 22 4d 53 20 44 4f 53 |text" or| "MS DOS|
|00000ce0| 20 74 65 78 74 22 2e 0d | 0a 0d 0a 36 2e 20 43 6f | text"..|...6. Co|
|00000cf0| 70 79 72 69 67 68 74 0d | 0a 2d 2d 2d 2d 2d 2d 2d |pyright.|.-------|
|00000d00| 2d 2d 2d 2d 2d 0d 0a 54 | 68 65 20 63 6f 70 79 72 |-----..T|he copyr|
|00000d10| 69 67 68 74 20 6f 77 6e | 65 72 20 6f 66 20 74 68 |ight own|er of th|
|00000d20| 69 73 20 70 72 6f 64 75 | 63 74 20 61 73 20 61 20 |is produ|ct as a |
|00000d30| 77 68 6f 6c 65 20 61 6e | 64 20 6f 66 20 61 6c 6c |whole an|d of all|
|00000d40| 20 69 74 73 20 63 6f 6e | 73 74 69 74 75 65 6e 74 | its con|stituent|
|00000d50| 0d 0a 70 61 72 74 73 20 | 69 73 0d 0a 20 20 20 20 |..parts |is.. |
|00000d60| 20 20 20 20 20 44 72 2e | 20 4d 61 72 74 69 6e 20 | Dr.| Martin |
|00000d70| 53 61 6e 64 65 72 20 53 | 6f 66 74 77 61 72 65 20 |Sander S|oftware |
|00000d80| 44 65 76 65 6c 6f 70 6d | 65 6e 74 0d 0a 20 20 20 |Developm|ent.. |
|00000d90| 20 20 20 20 20 20 53 65 | 72 74 75 72 6e 65 72 73 | Se|rturners|
|00000da0| 74 72 2e 20 31 31 0d 0a | 20 20 20 20 20 20 20 20 |tr. 11..| |
|00000db0| 20 44 2d 33 37 30 38 35 | 20 47 6f 65 74 74 69 6e | D-37085| Goettin|
|00000dc0| 67 65 6e 0d 0a 20 20 20 | 20 20 20 20 20 20 47 65 |gen.. | Ge|
|00000dd0| 72 6d 61 6e 79 0d 0a 20 | 20 20 20 20 20 20 20 20 |rmany.. | |
|00000de0| 65 2d 6d 61 69 6c 3a 20 | 4d 61 72 74 69 6e 53 61 |e-mail: |MartinSa|
|00000df0| 6e 64 65 72 40 42 69 67 | 66 6f 6f 74 2e 63 6f 6d |nder@Big|foot.com|
|00000e00| 0d 0a 0d 0a 54 68 69 73 | 20 53 68 61 72 65 77 61 |....This| Sharewa|
|00000e10| 72 65 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 43 4d |re versi|on of CM|
|00000e20| 41 54 48 20 69 73 20 66 | 72 65 65 6c 79 20 64 69 |ATH is f|reely di|
|00000e30| 73 74 72 69 62 75 74 61 | 62 6c 65 20 69 6e 20 75 |stributa|ble in u|
|00000e40| 6e 63 68 61 6e 67 65 64 | 20 66 6f 72 6d 2e 0d 0a |nchanged| form...|
|00000e50| 46 6f 72 20 74 68 65 20 | 64 69 73 74 72 69 62 75 |For the |distribu|
|00000e60| 74 69 6f 6e 20 6f 66 20 | 61 70 70 6c 69 63 61 74 |tion of |applicat|
|00000e70| 69 6f 6e 73 20 63 72 65 | 61 74 65 64 20 75 73 69 |ions cre|ated usi|
|00000e80| 6e 67 20 43 4d 41 54 48 | 2c 20 79 6f 75 20 6e 65 |ng CMATH|, you ne|
|00000e90| 65 64 20 74 68 65 0d 0a | 72 65 67 69 73 74 65 72 |ed the..|register|
|00000ea0| 65 64 20 76 65 72 73 69 | 6f 6e 2e 20 54 68 65 20 |ed versi|on. The |
|00000eb0| 64 65 74 61 69 6c 65 64 | 20 6c 69 63 65 6e 63 65 |detailed| licence|
|00000ec0| 20 63 6f 6e 64 69 74 69 | 6f 6e 73 20 61 72 65 20 | conditi|ons are |
|00000ed0| 64 65 73 63 72 69 62 65 | 64 20 69 6e 0d 0a 63 68 |describe|d in..ch|
|00000ee0| 61 70 74 65 72 20 31 2e | 32 20 6f 66 20 74 68 65 |apter 1.|2 of the|
|00000ef0| 20 66 69 6c 65 20 43 4d | 41 54 48 2e 54 58 54 2e | file CM|ATH.TXT.|
|00000f00| 0d 0a 0d 0a 0d 0a 37 2e | 20 52 65 67 69 73 74 65 |......7.| Registe|
|00000f10| 72 65 64 20 56 65 72 73 | 69 6f 6e 0d 0a 2d 2d 2d |red Vers|ion..---|
|00000f20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000f30| 2d 2d 0d 0a 49 66 20 79 | 6f 75 20 6c 69 6b 65 20 |--..If y|ou like |
|00000f40| 43 4d 41 54 48 20 61 6e | 64 20 64 65 63 69 64 65 |CMATH an|d decide|
|00000f50| 20 74 6f 20 75 73 65 20 | 69 74 2c 20 70 6c 65 61 | to use |it, plea|
|00000f60| 73 65 20 62 65 20 66 61 | 69 72 20 61 6e 64 20 72 |se be fa|ir and r|
|00000f70| 65 67 69 73 74 65 72 2e | 0d 0a 54 68 65 20 72 65 |egister.|..The re|
|00000f80| 67 69 73 74 65 72 65 64 | 20 76 65 72 73 69 6f 6e |gistered| version|
|00000f90| 20 6f 66 20 43 4d 41 54 | 48 0d 0a 0d 0a 2d 20 20 | of CMAT|H....- |
|00000fa0| 73 75 70 70 6f 72 74 73 | 20 61 6c 6c 20 6d 65 6d |supports| all mem|
|00000fb0| 6f 72 79 20 6d 6f 64 65 | 6c 73 20 6f 66 20 57 69 |ory mode|ls of Wi|
|00000fc0| 6e 64 6f 77 73 39 35 2c | 20 4e 54 2c 20 33 2e 78 |ndows95,| NT, 3.x|
|00000fd0| 2c 20 61 6e 64 20 44 4f | 53 0d 0a 20 20 20 28 69 |, and DO|S.. (i|
|00000fe0| 6e 63 6c 75 64 69 6e 67 | 20 74 68 65 20 33 32 2d |ncluding| the 32-|
|00000ff0| 62 69 74 20 6d 6f 64 65 | 6c 20 46 4c 41 54 29 2e |bit mode|l FLAT).|
|00001000| 0d 0a 0d 0a 2d 20 20 68 | 61 73 20 69 6e 64 69 76 |....- h|as indiv|
|00001010| 69 64 75 61 6c 6c 79 20 | 6f 70 74 69 6d 69 7a 65 |idually |optimize|
|00001020| 64 20 6c 69 62 72 61 72 | 69 65 73 20 66 6f 72 20 |d librar|ies for |
|00001030| 65 61 63 68 20 64 65 67 | 72 65 65 20 6f 66 20 70 |each deg|ree of p|
|00001040| 72 6f 63 65 73 73 6f 72 | 0d 0a 20 20 20 62 61 63 |rocessor|.. bac|
|00001050| 6b 77 61 72 64 2d 63 6f | 6d 70 61 74 69 62 69 6c |kward-co|mpatibil|
|00001060| 69 74 79 3a 0d 0a 20 20 | 20 20 20 20 34 38 36 44 |ity:.. | 486D|
|00001070| 58 2f 50 65 6e 74 69 75 | 6d 2b 0d 0a 20 20 20 20 |X/Pentiu|m+.. |
|00001080| 20 20 33 38 36 2b 20 28 | 33 38 37 20 63 6f 70 72 | 386+ (|387 copr|
|00001090| 6f 63 65 73 73 6f 72 20 | 72 65 71 75 69 72 65 64 |ocessor |required|
|000010a0| 29 0d 0a 20 20 20 20 20 | 20 32 38 36 2b 20 28 6e |).. | 286+ (n|
|000010b0| 6f 20 63 6f 70 72 6f 63 | 65 73 73 6f 72 20 72 65 |o coproc|essor re|
|000010c0| 71 75 69 72 65 64 29 2e | 0d 0a 0d 0a 2d 20 20 63 |quired).|....- c|
|000010d0| 6f 6d 65 73 20 77 69 74 | 68 20 70 72 69 6e 74 65 |omes wit|h printe|
|000010e0| 64 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 2e |d docume|ntation.|
|000010f0| 0d 0a 0d 0a 2d 20 20 63 | 6f 73 74 73 20 55 53 44 |....- c|osts USD|
|00001100| 20 36 30 20 61 6e 64 20 | 63 61 6e 20 62 65 20 6f | 60 and |can be o|
|00001110| 72 64 65 72 65 64 0d 0a | 20 20 20 62 79 20 65 2d |rdered..| by e-|
|00001120| 6d 61 69 6c 20 66 72 6f | 6d 20 74 68 65 20 61 75 |mail fro|m the au|
|00001130| 74 68 6f 72 20 6f 72 20 | 74 68 72 6f 75 67 68 20 |thor or |through |
|00001140| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 77 65 |the foll|owing we|
|00001150| 62 2d 73 69 74 65 73 3a | 0d 0a 0d 0a 20 20 20 68 |b-sites:|.... h|
|00001160| 74 74 70 3a 2f 2f 77 77 | 77 2e 61 74 6c 61 6e 74 |ttp://ww|w.atlant|
|00001170| 69 63 2d 63 6f 61 73 74 | 2e 63 6f 6d 2f 63 67 69 |ic-coast|.com/cgi|
|00001180| 2d 62 69 6e 2f 73 65 6c | 6c 6f 6e 6c 69 6e 65 2f |-bin/sel|lonline/|
|00001190| 31 33 36 2e 68 74 6d 0d | 0a 20 20 20 68 74 74 70 |136.htm.|. http|
|000011a0| 3a 2f 2f 77 77 77 2e 73 | 68 61 72 65 69 74 2e 63 |://www.s|hareit.c|
|000011b0| 6f 6d 2f 70 72 6f 67 72 | 61 6d 73 2f 31 30 31 33 |om/progr|ams/1013|
|000011c0| 35 33 2e 68 74 6d 0d 0a | 0d 0a 53 65 65 20 63 68 |53.htm..|..See ch|
|000011d0| 61 70 74 65 72 20 31 2e | 33 20 6f 66 20 74 68 65 |apter 1.|3 of the|
|000011e0| 20 66 69 6c 65 20 43 4d | 41 54 48 2e 54 58 54 20 | file CM|ATH.TXT |
|000011f0| 66 6f 72 20 64 65 74 61 | 69 6c 73 20 61 62 6f 75 |for deta|ils abou|
|00001200| 74 20 6f 72 64 65 72 69 | 6e 67 2e 0d 0a 0d 0a 0d |t orderi|ng......|
|00001210| 0a 20 20 20 20 2a 20 2a | 20 2a 20 2a 20 2a 20 2a |. * *| * * * *|
|00001220| 20 2a 20 2a 20 2a 20 2a | 20 2a 20 2a 20 2a 20 2a | * * * *| * * * *|
|00001230| 20 2a 20 2a 20 2a 20 2a | 20 2a 20 2a 20 2a 20 2a | * * * *| * * * *|
|00001240| 20 2a 20 2a 20 2a 20 2a | 20 2a 20 2a 20 2a 20 2a | * * * *| * * * *|
|00001250| 20 2a 0d 0a 50 4b 03 04 | 0a 00 00 00 00 00 c0 0a | *..PK..|........|
|00001260| 21 25 ca a7 bf bb da 91 | 00 00 da 91 00 00 09 00 |!%......|........|
|00001270| 00 00 43 4d 41 54 48 2e | 54 58 54 20 20 20 20 43 |..CMATH.|TXT C|
|00001280| 43 43 43 43 43 43 20 20 | 20 20 20 4d 4d 20 20 20 |CCCCCC | MM |
|00001290| 20 20 20 20 20 20 4d 4d | 20 20 20 20 20 20 20 20 | MM| |
|000012a0| 20 20 41 20 20 20 20 20 | 20 20 20 20 54 54 54 54 | A | TTTT|
|000012b0| 54 54 54 54 54 54 20 20 | 20 20 48 48 20 20 20 20 |TTTTTT | HH |
|000012c0| 20 20 48 48 0d 0a 20 20 | 43 43 20 20 20 20 20 20 | HH.. |CC |
|000012d0| 20 20 20 20 20 20 4d 4d | 4d 20 20 20 20 20 20 20 | MM|M |
|000012e0| 4d 4d 4d 20 20 20 20 20 | 20 20 20 20 41 41 41 20 |MMM | AAA |
|000012f0| 20 20 20 20 20 20 20 20 | 20 20 20 54 54 20 20 20 | | TT |
|00001300| 20 20 20 20 20 48 48 20 | 20 20 20 20 20 48 48 0d | HH | HH.|
|00001310| 0a 20 43 43 43 20 20 20 | 20 20 20 20 20 20 20 20 |. CCC | |
|00001320| 20 4d 4d 4d 4d 20 20 20 | 20 20 4d 4d 4d 4d 20 20 | MMMM | MMMM |
|00001330| 20 20 20 20 20 20 41 41 | 20 41 41 20 20 20 20 20 | AA| AA |
|00001340| 20 20 20 20 20 20 54 54 | 20 20 20 20 20 20 20 20 | TT| |
|00001350| 48 48 20 20 20 20 20 20 | 48 48 0d 0a 20 43 43 43 |HH |HH.. CCC|
|00001360| 20 20 20 20 20 20 20 20 | 20 20 20 20 4d 4d 20 4d | | MM M|
|00001370| 4d 20 20 20 4d 4d 20 4d | 4d 20 20 20 20 20 20 20 |M MM M|M |
|00001380| 41 41 20 20 20 41 41 20 | 20 20 20 20 20 20 20 20 |AA AA | |
|00001390| 20 54 54 20 20 20 20 20 | 20 20 20 48 48 48 48 48 | TT | HHHHH|
|000013a0| 48 48 48 48 48 0d 0a 20 | 43 43 43 20 20 20 20 20 |HHHHH.. |CCC |
|000013b0| 20 20 20 20 20 20 20 4d | 4d 20 20 4d 4d 20 4d 4d | M|M MM MM|
|000013c0| 20 20 4d 4d 20 20 20 20 | 20 20 41 41 41 41 41 41 | MM | AAAAAA|
|000013d0| 41 41 41 20 20 20 20 20 | 20 20 20 20 54 54 20 20 |AAA | TT |
|000013e0| 20 20 20 20 20 20 48 48 | 20 20 20 20 20 20 48 48 | HH| HH|
|000013f0| 0d 0a 20 20 43 43 20 20 | 20 20 20 20 20 20 20 20 |.. CC | |
|00001400| 20 20 4d 4d 20 20 20 4d | 4d 4d 20 20 20 4d 4d 20 | MM M|MM MM |
|00001410| 20 20 20 20 41 41 20 20 | 20 20 20 20 20 41 41 20 | AA | AA |
|00001420| 20 20 20 20 20 20 20 54 | 54 20 20 20 20 20 20 20 | T|T |
|00001430| 20 48 48 20 20 20 20 20 | 20 48 48 0d 0a 20 20 20 | HH | HH.. |
|00001440| 20 43 43 43 43 43 43 43 | 20 20 20 20 20 4d 4d 20 | CCCCCCC| MM |
|00001450| 20 20 20 4d 20 20 20 20 | 4d 4d 20 20 20 20 41 41 | M |MM AA|
|00001460| 20 20 20 20 20 20 20 20 | 20 41 41 20 20 20 20 20 | | AA |
|00001470| 20 20 54 54 20 20 20 20 | 20 20 20 20 48 48 20 20 | TT | HH |
|00001480| 20 20 20 20 48 48 0d 0a | 0d 0a 0d 0a 20 20 20 20 | HH..|.... |
|00001490| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000014a0| 43 4d 41 54 48 20 31 2e | 32 20 20 66 6f 72 20 42 |CMATH 1.|2 for B|
|000014b0| 6f 72 6c 61 6e 64 20 43 | 2b 2b 0d 0a 20 20 20 20 |orland C|++.. |
|000014c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000014d0| 20 28 56 65 72 73 69 6f | 6e 20 33 2e 30 20 6f 72 | (Versio|n 3.0 or|
|000014e0| 20 68 69 67 68 65 72 29 | 0d 0a 0d 0a 20 20 20 20 | higher)|.... |
|000014f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001500| 44 72 2e 20 4d 61 72 74 | 69 6e 20 53 61 6e 64 65 |Dr. Mart|in Sande|
|00001510| 72 20 53 6f 66 74 77 61 | 72 65 20 44 65 76 65 6c |r Softwa|re Devel|
|00001520| 6f 70 6d 65 6e 74 0d 0a | 20 20 20 20 20 20 20 20 |opment..| |
|00001530| 20 20 20 20 20 20 20 20 | 20 20 20 20 53 65 72 74 | | Sert|
|00001540| 81 72 6e 65 72 73 74 72 | 2e 20 31 31 0d 0a 20 20 |.rnerstr|. 11.. |
|00001550| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001560| 20 20 44 2d 33 37 30 38 | 35 20 47 94 74 74 69 6e | D-3708|5 G.ttin|
|00001570| 67 65 6e 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |gen.. | |
|00001580| 20 20 20 20 20 20 20 20 | 20 47 65 72 6d 61 6e 79 | | Germany|
|00001590| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|000015a0| 20 20 20 20 20 20 65 2d | 6d 61 69 6c 3a 20 4d 61 | e-|mail: Ma|
|000015b0| 72 74 69 6e 53 61 6e 64 | 65 72 40 42 69 67 66 6f |rtinSand|er@Bigfo|
|000015c0| 6f 74 2e 63 6f 6d 0d 0a | 0d 0a 46 6f 72 20 74 68 |ot.com..|..For th|
|000015d0| 65 20 63 6f 6d 6d 65 72 | 63 69 61 6c 20 76 65 72 |e commer|cial ver|
|000015e0| 73 69 6f 6e 2c 20 70 6c | 65 61 73 65 20 6f 72 64 |sion, pl|ease ord|
|000015f0| 65 72 20 62 79 20 65 2d | 6d 61 69 6c 20 6f 72 20 |er by e-|mail or |
|00001600| 74 68 72 6f 75 67 68 20 | 74 68 65 20 77 65 62 2d |through |the web-|
|00001610| 73 69 74 65 73 0d 0a 68 | 74 74 70 3a 2f 2f 77 77 |sites..h|ttp://ww|
|00001620| 77 2e 61 74 6c 61 6e 74 | 69 63 2d 63 6f 61 73 74 |w.atlant|ic-coast|
|00001630| 2e 63 6f 6d 2f 63 67 69 | 2d 62 69 6e 2f 73 65 6c |.com/cgi|-bin/sel|
|00001640| 6c 6f 6e 6c 69 6e 65 2f | 31 33 36 2e 68 74 6d 0d |lonline/|136.htm.|
|00001650| 0a 68 74 74 70 3a 2f 2f | 77 77 77 2e 73 68 61 72 |.http://|www.shar|
|00001660| 65 69 74 2e 63 6f 6d 2f | 70 72 6f 67 72 61 6d 73 |eit.com/|programs|
|00001670| 2f 31 30 31 33 35 33 2e | 68 74 6d 0d 0a 0d 0a 2a |/101353.|htm....*|
|00001680| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001690| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000016a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000016b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000016c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 0d 0a 0d 0a |********|****....|
|000016d0| 21 21 20 20 20 20 20 54 | 68 69 73 20 69 73 20 61 |!! T|his is a|
|000016e0| 6e 20 41 53 43 49 49 20 | 74 65 78 74 20 66 69 6c |n ASCII |text fil|
|000016f0| 65 21 20 20 49 74 20 69 | 73 20 62 65 73 74 20 76 |e! It i|s best v|
|00001700| 69 65 77 65 64 20 77 69 | 74 68 20 61 20 73 69 6d |iewed wi|th a sim|
|00001710| 70 6c 65 20 20 20 20 20 | 20 20 20 21 21 0d 0a 21 |ple | !!..!|
|00001720| 21 20 20 20 20 20 44 4f | 53 20 65 64 69 74 6f 72 |! DO|S editor|
|00001730| 2e 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00001740| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001750| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001760| 20 20 20 20 20 20 20 20 | 20 20 21 21 0d 0a 21 21 | | !!..!!|
|00001770| 20 20 20 20 20 49 66 20 | 79 6f 75 20 6c 6f 61 64 | If |you load|
|00001780| 20 74 68 69 73 20 66 69 | 6c 65 20 69 6e 74 6f 20 | this fi|le into |
|00001790| 61 20 77 6f 72 64 20 70 | 72 6f 63 65 73 73 6f 72 |a word p|rocessor|
|000017a0| 20 75 6e 64 65 72 20 57 | 69 6e 64 6f 77 73 2c 20 | under W|indows, |
|000017b0| 79 6f 75 20 20 20 20 20 | 20 21 21 0d 0a 21 21 20 |you | !!..!! |
|000017c0| 20 20 20 20 6d 75 73 74 | 20 75 73 65 20 74 68 65 | must| use the|
|000017d0| 20 66 69 6c 74 65 72 20 | 22 44 4f 53 20 74 65 78 | filter |"DOS tex|
|000017e0| 74 22 2e 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |t". | |
|000017f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001800| 20 20 20 20 20 20 20 20 | 21 21 0d 0a 21 21 20 20 | |!!..!! |
|00001810| 20 20 20 41 6c 74 65 72 | 6e 61 74 69 76 65 6c 79 | Alter|natively|
|00001820| 2c 20 79 6f 75 20 6d 61 | 79 20 75 73 65 20 46 43 |, you ma|y use FC|
|00001830| 4f 4e 56 45 52 54 20 28 | 73 68 69 70 70 65 64 20 |ONVERT (|shipped |
|00001840| 77 69 74 68 20 42 6f 72 | 6c 61 6e 64 20 43 2b 2b |with Bor|land C++|
|00001850| 29 20 74 6f 20 20 20 21 | 21 0d 0a 21 21 20 20 20 |) to !|!..!! |
|00001860| 20 20 63 6f 6e 76 65 72 | 74 20 66 72 6f 6d 20 41 | conver|t from A|
|00001870| 53 43 49 49 20 28 4f 45 | 4d 29 20 69 6e 74 6f 20 |SCII (OE|M) into |
|00001880| 74 68 65 20 41 4e 53 49 | 20 63 68 61 72 61 63 74 |the ANSI| charact|
|00001890| 65 72 20 73 65 74 2e 20 | 20 20 20 20 20 20 20 20 |er set. | |
|000018a0| 20 20 20 20 20 20 21 21 | 0d 0a 21 21 20 20 20 20 | !!|..!! |
|000018b0| 20 70 72 65 66 65 72 61 | 62 6c 79 20 75 73 65 20 | prefera|bly use |
|000018c0| 74 68 65 20 6c 65 74 74 | 65 72 74 79 70 65 20 43 |the lett|ertype C|
|000018d0| 6f 75 72 69 65 72 4e 65 | 77 20 31 30 20 70 74 2e |ourierNe|w 10 pt.|
|000018e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000018f0| 20 20 20 20 20 21 21 0d | 0a 0d 0a 20 20 20 20 20 | !!.|... |
|00001900| 20 20 20 20 20 20 20 20 | 20 20 20 20 2a 2a 2a 2a | | ****|
|00001910| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001920| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001930| 2a 2a 0d 0a 20 20 20 47 | 65 72 6d 61 6e 2d 73 70 |**.. G|erman-sp|
|00001940| 65 61 6b 69 6e 67 20 75 | 73 65 72 73 3a 0d 0a 20 |eaking u|sers:.. |
|00001950| 20 20 20 20 20 20 55 6d | 20 64 69 65 20 4b 6f 73 | Um| die Kos|
|00001960| 74 65 6e 20 66 81 72 20 | 64 61 73 20 48 65 72 75 |ten f.r |das Heru|
|00001970| 6e 74 65 72 6c 61 64 65 | 6e 20 64 65 72 20 53 68 |nterlade|n der Sh|
|00001980| 61 72 65 77 61 72 65 2d | 56 65 72 73 69 6f 6e 0d |areware-|Version.|
|00001990| 0a 20 20 20 20 20 20 20 | 81 62 65 72 20 64 61 73 |. |.ber das|
|000019a0| 20 49 6e 74 65 72 6e 65 | 74 20 66 81 72 20 61 6c | Interne|t f.r al|
|000019b0| 6c 65 20 73 6f 20 67 65 | 72 69 6e 67 20 77 69 65 |le so ge|ring wie|
|000019c0| 20 6d 94 67 6c 69 63 68 | 20 7a 75 20 68 61 6c 74 | m.glich| zu halt|
|000019d0| 65 6e 2c 0d 0a 20 20 20 | 20 20 20 20 65 6e 74 68 |en,.. | enth|
|000019e0| 84 6c 74 20 64 69 65 73 | 65 20 6e 75 72 20 64 69 |.lt dies|e nur di|
|000019f0| 65 20 65 6e 67 6c 69 73 | 63 68 65 20 44 6f 6b 75 |e englis|che Doku|
|00001a00| 6d 65 6e 74 61 74 69 6f | 6e 2e 20 53 69 65 20 66 |mentatio|n. Sie f|
|00001a10| 69 6e 64 65 6e 0d 0a 20 | 20 20 20 20 20 20 64 69 |inden.. | di|
|00001a20| 65 20 64 65 75 74 73 63 | 68 65 20 42 65 73 63 68 |e deutsc|he Besch|
|00001a30| 72 65 69 62 75 6e 67 20 | 73 65 70 61 72 61 74 20 |reibung |separat |
|00001a40| 75 6e 74 65 72 0d 0a 20 | 20 20 20 20 20 20 20 20 |unter.. | |
|00001a50| 20 20 20 20 20 20 68 74 | 74 70 3a 2f 2f 77 77 77 | ht|tp://www|
|00001a60| 2e 67 77 64 67 2e 64 65 | 2f 7e 6d 73 61 6e 64 65 |.gwdg.de|/~msande|
|00001a70| 72 2f 44 6f 77 6e 6c 6f | 61 64 2f 42 43 2f 43 4d |r/Downlo|ad/BC/CM|
|00001a80| 44 4f 43 44 2e 5a 49 50 | 0d 0a 20 20 20 20 20 20 |DOCD.ZIP|.. |
|00001a90| 20 20 20 20 20 20 20 20 | 20 20 20 2a 2a 2a 2a 2a | | *****|
|00001aa0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001ab0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001ac0| 2a 0d 0a 0d 0a 42 72 61 | 6e 64 20 61 6e 64 20 70 |*....Bra|nd and p|
|00001ad0| 72 6f 64 75 63 74 20 6e | 61 6d 65 73 20 6d 65 6e |roduct n|ames men|
|00001ae0| 74 69 6f 6e 65 64 20 69 | 6e 20 74 68 69 73 20 68 |tioned i|n this h|
|00001af0| 61 6e 64 62 6f 6f 6b 20 | 66 6f 72 20 69 64 65 6e |andbook |for iden|
|00001b00| 74 69 66 69 63 61 74 69 | 6f 6e 0d 0a 70 75 72 70 |tificati|on..purp|
|00001b10| 6f 73 65 73 20 61 72 65 | 20 74 72 61 64 65 6d 61 |oses are| tradema|
|00001b20| 72 6b 73 20 6f 72 20 72 | 65 67 69 73 74 65 72 65 |rks or r|egistere|
|00001b30| 64 20 74 72 61 64 65 6d | 61 72 6b 73 20 6f 66 20 |d tradem|arks of |
|00001b40| 74 68 65 69 72 20 72 65 | 73 70 65 63 74 69 76 65 |their re|spective|
|00001b50| 20 68 6f 6c 64 65 72 73 | 2e 0d 0a 0d 0a 0d 0a 2a | holders|.......*|
|00001b60| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001b70| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001b80| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001b90| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001ba0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 0d 0a 2a 20 20 |********|***..* |
|00001bb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001bc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001bd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001be0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001bf0| 20 20 20 20 20 20 20 20 | 2a 0d 0a 2a 2a 2a 2a 2a | |*..*****|
|00001c00| 2a 2a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |** | |
|00001c10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 43 6f 6e | | Con|
|00001c20| 74 65 6e 74 73 20 20 20 | 20 20 20 20 20 20 20 20 |tents | |
|00001c30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c40| 2a 2a 2a 2a 2a 2a 2a 0d | 0a 2a 20 20 20 20 20 20 |*******.|.* |
|00001c50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c90| 20 20 20 20 2a 0d 0a 2a | 2a 2a 2a 2a 2a 2a 2a 2a | *..*|********|
|00001ca0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001cb0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001cc0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001cd0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001ce0| 2a 2a 2a 0d 0a 0d 0a 31 | 2e 20 49 6e 74 72 6f 64 |***....1|. Introd|
|00001cf0| 75 63 74 69 6f 6e 0d 0a | 20 20 20 31 2e 31 20 57 |uction..| 1.1 W|
|00001d00| 68 61 74 20 69 73 20 43 | 4d 41 54 48 20 3f 0d 0a |hat is C|MATH ?..|
|00001d10| 20 20 20 31 2e 32 20 4c | 69 63 65 6e 63 65 20 54 | 1.2 L|icence T|
|00001d20| 65 72 6d 73 0d 0a 20 20 | 20 31 2e 33 20 52 65 67 |erms.. | 1.3 Reg|
|00001d30| 69 73 74 65 72 65 64 20 | 56 65 72 73 69 6f 6e 0d |istered |Version.|
|00001d40| 0a 0d 0a 32 2e 20 47 65 | 74 74 69 6e 67 20 53 74 |...2. Ge|tting St|
|00001d50| 61 72 74 65 64 0d 0a 20 | 20 20 32 2e 31 20 49 6e |arted.. | 2.1 In|
|00001d60| 73 74 61 6c 6c 61 74 69 | 6f 6e 0d 0a 20 20 20 32 |stallati|on.. 2|
|00001d70| 2e 32 20 44 65 2d 49 6e | 73 74 61 6c 6c 61 74 69 |.2 De-In|stallati|
|00001d80| 6f 6e 0d 0a 0d 0a 33 2e | 20 4f 76 65 72 76 69 65 |on....3.| Overvie|
|00001d90| 77 20 6f 76 65 72 20 74 | 68 65 20 46 75 6e 63 74 |w over t|he Funct|
|00001da0| 69 6f 6e 73 20 6f 66 20 | 43 4d 41 54 48 0d 0a 20 |ions of |CMATH.. |
|00001db0| 20 20 33 2e 31 20 49 6e | 69 74 69 61 6c 69 7a 61 | 3.1 In|itializa|
|00001dc0| 74 69 6f 6e 20 6f 66 20 | 43 6f 6d 70 6c 65 78 20 |tion of |Complex |
|00001dd0| 4e 75 6d 62 65 72 73 0d | 0a 20 20 20 33 2e 32 20 |Numbers.|. 3.2 |
|00001de0| 44 61 74 61 2d 54 79 70 | 65 20 49 6e 74 65 72 63 |Data-Typ|e Interc|
|00001df0| 6f 6e 76 65 72 73 69 6f | 6e 73 0d 0a 20 20 20 33 |onversio|ns.. 3|
|00001e00| 2e 33 20 42 61 73 69 63 | 20 43 6f 6d 70 6c 65 78 |.3 Basic| Complex|
|00001e10| 20 4f 70 65 72 61 74 69 | 6f 6e 73 0d 0a 20 20 20 | Operati|ons.. |
|00001e20| 33 2e 34 20 41 72 69 74 | 68 6d 65 74 69 63 20 4f |3.4 Arit|hmetic O|
|00001e30| 70 65 72 61 74 69 6f 6e | 73 0d 0a 20 20 20 33 2e |peration|s.. 3.|
|00001e40| 35 20 4d 61 74 68 65 6d | 61 74 69 63 61 6c 20 46 |5 Mathem|atical F|
|00001e50| 75 6e 63 74 69 6f 6e 73 | 0d 0a 0d 0a 34 2e 20 45 |unctions|....4. E|
|00001e60| 72 72 6f 72 20 48 61 6e | 64 6c 69 6e 67 0d 0a 20 |rror Han|dling.. |
|00001e70| 20 20 34 2e 31 20 47 65 | 6e 65 72 61 6c 20 45 72 | 4.1 Ge|neral Er|
|00001e80| 72 6f 72 20 48 61 6e 64 | 6c 69 6e 67 20 6f 66 20 |ror Hand|ling of |
|00001e90| 43 6f 6d 70 6c 65 78 20 | 46 75 6e 63 74 69 6f 6e |Complex |Function|
|00001ea0| 73 0d 0a 20 20 20 34 2e | 32 20 41 64 76 61 6e 63 |s.. 4.|2 Advanc|
|00001eb0| 65 64 20 45 72 72 6f 72 | 20 48 61 6e 64 6c 69 6e |ed Error| Handlin|
|00001ec0| 67 3a 20 57 72 69 74 69 | 6e 67 20 4d 65 73 73 61 |g: Writi|ng Messa|
|00001ed0| 67 65 73 20 69 6e 74 6f | 20 61 20 46 69 6c 65 0d |ges into| a File.|
|00001ee0| 0a 0d 0a 35 2e 20 53 79 | 6e 74 61 78 20 52 65 66 |...5. Sy|ntax Ref|
|00001ef0| 65 72 65 6e 63 65 0d 0a | 20 20 20 35 2e 31 20 43 |erence..| 5.1 C|
|00001f00| 2b 2b 20 56 65 72 73 69 | 6f 6e 0d 0a 20 20 20 35 |++ Versi|on.. 5|
|00001f10| 2e 32 20 50 6c 61 69 6e | 2d 43 20 56 65 72 73 69 |.2 Plain|-C Versi|
|00001f20| 6f 6e 0d 0a 0d 0a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |on....**|********|
|00001f30| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001f40| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001f50| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001f60| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001f70| 2a 2a 0d 0a 2a 20 20 20 | 20 20 20 20 20 20 20 20 |**..* | |
|00001f80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001f90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001fa0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001fb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2a | | *|
|00001fc0| 0d 0a 2a 2a 2a 2a 2a 2a | 2a 20 20 20 20 20 20 20 |..******|* |
|00001fd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001fe0| 31 2e 20 49 6e 74 72 6f | 64 75 63 74 69 6f 6e 20 |1. Intro|duction |
|00001ff0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002000| 20 20 20 20 20 20 20 2a | 2a 2a 2a 2a 2a 2a 0d 0a | *|******..|
|00002010| 2a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |* | |
|00002020| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002030| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002040| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002050| 20 20 20 20 20 20 20 20 | 20 20 20 2a 0d 0a 2a 2a | | *..**|
|00002060| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002070| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002080| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002090| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000020a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 0d 0a 0d 0a 0d |********|***.....|
|000020b0| 0a 31 2e 31 20 57 68 61 | 74 20 69 73 20 43 4d 41 |.1.1 Wha|t is CMA|
|000020c0| 54 48 20 3f 0d 0a 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |TH ?..--|--------|
|000020d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0d 0a 0d 0a 43 4d 41 |--------|-....CMA|
|000020e0| 54 48 20 69 73 20 61 20 | 63 6f 6d 70 72 65 68 65 |TH is a |comprehe|
|000020f0| 6e 73 69 76 65 20 6c 69 | 62 72 61 72 79 20 66 6f |nsive li|brary fo|
|00002100| 72 20 63 6f 6d 70 6c 65 | 78 2d 6e 75 6d 62 65 72 |r comple|x-number|
|00002110| 20 61 72 69 74 68 6d 65 | 74 69 73 20 61 6e 64 0d | arithme|tis and.|
|00002120| 0a 6d 61 74 68 65 6d 61 | 74 69 63 73 2e 20 49 74 |.mathema|tics. It|
|00002130| 20 69 73 20 70 72 69 6d | 61 72 69 6c 79 20 69 6e | is prim|arily in|
|00002140| 74 65 6e 64 65 64 20 61 | 73 20 61 20 68 69 67 68 |tended a|s a high|
|00002150| 2d 71 75 61 6c 69 74 79 | 20 72 65 70 6c 61 63 65 |-quality| replace|
|00002160| 6d 65 6e 74 20 66 6f 72 | 0d 0a 74 68 65 20 63 6f |ment for|..the co|
|00002170| 6d 70 6c 65 78 20 63 6c | 61 73 73 20 6c 69 62 72 |mplex cl|ass libr|
|00002180| 61 72 69 65 73 20 6f 66 | 20 70 6f 70 75 6c 61 72 |aries of| popular|
|00002190| 20 43 2b 2b 20 63 6f 6d | 70 69 6c 65 72 73 2e 20 | C++ com|pilers. |
|000021a0| 49 6e 20 61 64 64 69 74 | 69 6f 6e 2c 0d 0a 61 6c |In addit|ion,..al|
|000021b0| 6c 20 66 75 6e 63 74 69 | 6f 6e 73 20 6d 61 79 20 |l functi|ons may |
|000021c0| 62 65 20 63 61 6c 6c 65 | 64 20 66 72 6f 6d 20 43 |be calle|d from C|
|000021d0| 2c 20 77 69 74 68 6f 75 | 74 20 74 68 65 20 6e 65 |, withou|t the ne|
|000021e0| 63 65 73 73 69 74 79 20 | 74 6f 20 75 73 65 20 43 |cessity |to use C|
|000021f0| 2b 2b 2e 0d 0a 53 75 70 | 65 72 69 6f 72 20 73 70 |++...Sup|erior sp|
|00002200| 65 65 64 2c 20 61 63 63 | 75 72 61 63 79 20 61 6e |eed, acc|uracy an|
|00002210| 64 20 73 61 66 65 74 79 | 20 61 72 65 20 61 63 68 |d safety| are ach|
|00002220| 69 65 76 65 64 20 74 68 | 72 6f 75 67 68 20 74 68 |ieved th|rough th|
|00002230| 65 20 0d 0a 69 6d 70 6c | 65 6d 65 6e 74 61 74 69 |e ..impl|ementati|
|00002240| 6f 6e 20 69 6e 20 41 73 | 73 65 6d 62 6c 79 20 6c |on in As|sembly l|
|00002250| 61 6e 67 75 61 67 65 20 | 28 61 73 20 6f 70 70 6f |anguage |(as oppo|
|00002260| 73 65 64 20 74 6f 20 74 | 68 65 20 63 6f 6d 70 69 |sed to t|he compi|
|00002270| 6c 65 64 20 6f 72 20 0d | 0a 69 6e 6c 69 6e 65 20 |led or .|.inline |
|00002280| 43 2b 2b 20 63 6f 64 65 | 20 6f 66 20 74 68 65 20 |C++ code| of the |
|00002290| 63 6f 6d 70 69 6c 65 72 | 73 27 20 63 6f 6d 70 6c |compiler|s' compl|
|000022a0| 65 78 20 63 6c 61 73 73 | 20 6c 69 62 72 61 72 69 |ex class| librari|
|000022b0| 65 73 29 2e 0d 0a 4f 6e | 6c 79 20 66 6f 72 20 74 |es)...On|ly for t|
|000022c0| 68 65 20 6d 6f 73 74 20 | 73 69 6d 70 6c 65 20 74 |he most |simple t|
|000022d0| 61 73 6b 73 2c 20 61 6c | 74 65 72 6e 61 74 69 76 |asks, al|ternativ|
|000022e0| 65 20 69 6e 6c 69 6e 65 | 20 43 2b 2b 20 66 75 6e |e inline| C++ fun|
|000022f0| 63 74 69 6f 6e 73 20 61 | 72 65 20 75 73 65 64 2e |ctions a|re used.|
|00002300| 0d 0a 0d 0a 54 68 65 20 | 69 6d 70 6c 65 6d 65 6e |....The |implemen|
|00002310| 74 61 74 69 6f 6e 20 77 | 61 73 20 67 75 69 64 65 |tation w|as guide|
|00002320| 64 20 62 79 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |d by the| followi|
|00002330| 6e 67 20 72 75 6c 65 73 | 3a 0d 0a 0d 0a 20 20 20 |ng rules|:.... |
|00002340| 31 2e 20 57 69 74 68 6f | 75 74 20 61 6e 79 20 63 |1. Witho|ut any c|
|00002350| 6f 6d 70 72 6f 6d 69 73 | 65 2c 20 74 6f 70 20 70 |ompromis|e, top p|
|00002360| 72 69 6f 72 69 74 79 20 | 69 73 20 61 6c 77 61 79 |riority |is alway|
|00002370| 73 20 67 69 76 65 6e 20 | 74 6f 20 74 68 65 20 6d |s given |to the m|
|00002380| 61 74 68 65 6d 61 2d 0d | 0a 20 20 20 20 20 20 74 |athema-.|. t|
|00002390| 69 63 61 6c 6c 79 20 63 | 6f 72 72 65 63 74 20 72 |ically c|orrect r|
|000023a0| 65 73 75 6c 74 2c 20 77 | 69 74 68 20 74 68 65 20 |esult, w|ith the |
|000023b0| 61 63 63 75 72 61 63 79 | 20 64 65 6d 61 6e 64 65 |accuracy| demande|
|000023c0| 64 20 66 6f 72 20 74 68 | 65 20 72 65 73 70 65 63 |d for th|e respec|
|000023d0| 74 69 76 65 0d 0a 20 20 | 20 20 20 20 64 61 74 61 |tive.. | data|
|000023e0| 20 74 79 70 65 2e 20 45 | 73 70 65 63 69 61 6c 6c | type. E|speciall|
|000023f0| 79 20 66 6f 72 20 63 6f | 6d 70 6c 65 78 20 66 75 |y for co|mplex fu|
|00002400| 6e 63 74 69 6f 6e 73 2c | 20 74 68 69 73 20 6e 65 |nctions,| this ne|
|00002410| 63 65 73 73 69 74 61 74 | 65 73 20 61 0d 0a 20 20 |cessitat|es a.. |
|00002420| 20 20 20 20 76 65 72 79 | 20 74 68 6f 72 6f 75 67 | very| thoroug|
|00002430| 68 20 74 72 65 61 74 6d | 65 6e 74 20 6f 66 20 6d |h treatm|ent of m|
|00002440| 61 6e 79 20 64 69 66 66 | 65 72 65 6e 74 20 73 69 |any diff|erent si|
|00002450| 74 75 61 74 69 6f 6e 73 | 2e 20 54 6f 20 74 68 69 |tuations|. To thi|
|00002460| 73 20 65 6e 64 2c 0d 0a | 20 20 20 20 20 20 74 68 |s end,..| th|
|00002470| 65 20 76 61 72 69 6f 75 | 73 20 63 61 73 65 73 20 |e variou|s cases |
|00002480| 68 61 76 65 20 74 6f 20 | 62 65 20 64 69 73 74 69 |have to |be disti|
|00002490| 6e 67 75 69 73 68 65 64 | 20 77 69 74 68 20 70 65 |nguished| with pe|
|000024a0| 64 61 6e 74 69 63 20 63 | 61 72 65 2e 0d 0a 20 20 |dantic c|are... |
|000024b0| 20 32 2e 20 4d 61 74 68 | 65 6d 61 74 69 63 61 6c | 2. Math|ematical|
|000024c0| 20 66 75 6e 63 74 69 6f | 6e 73 20 6d 75 73 74 20 | functio|ns must |
|000024d0| 62 65 20 22 73 61 66 65 | 22 20 75 6e 64 65 72 20 |be "safe|" under |
|000024e0| 61 6c 6c 20 63 69 72 63 | 75 6d 73 74 61 6e 63 65 |all circ|umstance|
|000024f0| 73 2e 0d 0a 20 20 20 20 | 20 20 54 68 65 79 20 6d |s... | They m|
|00002500| 61 79 20 66 6f 72 20 6e | 6f 20 72 65 61 73 6f 6e |ay for n|o reason|
|00002510| 20 73 69 6d 70 6c 79 20 | 63 72 61 73 68 2c 20 62 | simply |crash, b|
|00002520| 75 74 20 68 61 76 65 20 | 74 6f 20 70 65 72 66 6f |ut have |to perfo|
|00002530| 72 6d 20 61 20 64 65 63 | 65 6e 74 0d 0a 20 20 20 |rm a dec|ent.. |
|00002540| 20 20 20 65 72 72 6f 72 | 20 74 72 65 61 74 6d 65 | error| treatme|
|00002550| 6e 74 2e 20 54 68 69 73 | 20 69 73 20 74 72 75 65 |nt. This| is true|
|00002560| 20 65 76 65 6e 20 2d 20 | 61 6e 64 20 70 65 72 68 | even - |and perh|
|00002570| 61 70 73 20 65 73 70 65 | 63 69 61 6c 6c 79 20 2d |aps espe|cially -|
|00002580| 20 66 6f 72 0d 0a 20 20 | 20 20 20 20 73 65 65 6d | for.. | seem|
|00002590| 69 6e 67 6c 79 20 6e 6f | 6e 73 65 6e 73 65 20 61 |ingly no|nsense a|
|000025a0| 72 67 75 6d 65 6e 74 73 | 2c 20 77 69 74 68 20 74 |rguments|, with t|
|000025b0| 68 65 20 73 69 6e 67 6c | 65 20 65 78 63 65 70 74 |he singl|e except|
|000025c0| 69 6f 6e 20 6f 66 20 74 | 68 65 0d 0a 20 20 20 20 |ion of t|he.. |
|000025d0| 20 20 6e 6f 6e 2d 6e 75 | 6d 62 65 72 73 20 49 4e | non-nu|mbers IN|
|000025e0| 46 20 61 6e 64 20 4e 41 | 4e 2c 20 77 68 69 63 68 |F and NA|N, which|
|000025f0| 20 6f 63 63 75 72 20 74 | 68 65 6d 73 65 6c 76 65 | occur t|hemselve|
|00002600| 73 20 6f 6e 6c 79 20 61 | 73 20 61 20 72 65 73 75 |s only a|s a resu|
|00002610| 6c 74 0d 0a 20 20 20 20 | 20 20 6f 66 20 73 65 72 |lt.. | of ser|
|00002620| 69 6f 75 73 20 65 72 72 | 6f 72 73 20 69 6e 20 6f |ious err|ors in o|
|00002630| 74 68 65 72 20 66 75 6e | 63 74 69 6f 6e 73 2e 0d |ther fun|ctions..|
|00002640| 0a 20 20 20 33 2e 20 42 | 79 20 61 6c 6c 20 70 6f |. 3. B|y all po|
|00002650| 73 73 69 62 6c 65 20 6d | 65 61 6e 73 2c 20 67 72 |ssible m|eans, gr|
|00002660| 65 61 74 65 73 74 20 65 | 78 65 63 75 74 69 6f 6e |eatest e|xecution|
|00002670| 20 73 70 65 65 64 20 6d | 75 73 74 20 62 65 20 61 | speed m|ust be a|
|00002680| 74 74 61 69 6e 65 64 2e | 0d 0a 20 20 20 20 20 20 |ttained.|.. |
|00002690| 28 41 66 74 65 72 20 61 | 6c 6c 2c 20 79 6f 75 20 |(After a|ll, you |
|000026a0| 64 69 64 20 6e 6f 74 20 | 62 75 79 20 79 6f 75 72 |did not |buy your|
|000026b0| 20 66 61 73 74 20 63 6f | 6d 70 75 74 65 72 20 66 | fast co|mputer f|
|000026c0| 6f 72 20 6e 6f 74 68 69 | 6e 67 21 29 0d 0a 20 20 |or nothi|ng!).. |
|000026d0| 20 34 2e 20 54 68 65 20 | 70 72 6f 67 72 61 6d 20 | 4. The |program |
|000026e0| 63 6f 64 65 20 68 61 73 | 20 74 6f 20 62 65 20 61 |code has| to be a|
|000026f0| 73 20 63 6f 6d 70 61 63 | 74 20 61 73 20 70 6f 73 |s compac|t as pos|
|00002700| 73 69 62 6c 65 2e 20 48 | 6f 77 65 76 65 72 2c 20 |sible. H|owever, |
|00002710| 69 6e 20 63 61 73 65 0d | 0a 20 20 20 20 20 20 6f |in case.|. o|
|00002720| 66 20 63 6f 6e 66 6c 69 | 63 74 73 2c 20 66 61 73 |f confli|cts, fas|
|00002730| 74 65 72 20 65 78 65 63 | 75 74 69 6f 6e 20 73 70 |ter exec|ution sp|
|00002740| 65 65 64 20 69 73 20 61 | 6c 77 61 79 73 20 67 69 |eed is a|lways gi|
|00002750| 76 65 6e 20 70 72 69 6f | 72 69 74 79 0d 0a 20 20 |ven prio|rity.. |
|00002760| 20 20 20 20 6f 76 65 72 | 20 73 6d 61 6c 6c 65 72 | over| smaller|
|00002770| 20 63 6f 64 65 20 73 69 | 7a 65 2e 0d 0a 0d 0a 48 | code si|ze.....H|
|00002780| 61 76 69 6e 67 20 61 20 | 6c 6f 6f 6b 20 69 6e 74 |aving a |look int|
|00002790| 6f 20 74 68 65 20 63 6f | 6d 70 6c 65 78 20 63 6c |o the co|mplex cl|
|000027a0| 61 73 73 20 6c 69 62 72 | 61 72 69 65 73 20 6f 66 |ass libr|aries of|
|000027b0| 20 70 6f 70 75 6c 61 72 | 20 63 6f 6d 70 69 6c 65 | popular| compile|
|000027c0| 72 73 2c 20 79 6f 75 0d | 0a 77 69 6c 6c 20 69 6d |rs, you.|.will im|
|000027d0| 6d 65 64 69 61 74 65 6c | 79 20 64 69 73 63 6f 76 |mediatel|y discov|
|000027e0| 65 72 20 74 68 65 20 64 | 69 66 66 65 72 65 6e 63 |er the d|ifferenc|
|000027f0| 65 73 20 62 65 74 77 65 | 65 6e 20 6f 75 72 20 61 |es betwe|en our a|
|00002800| 70 70 72 6f 61 63 68 20 | 61 6e 64 20 74 68 65 69 |pproach |and thei|
|00002810| 72 73 2e 0d 0a 4f 66 74 | 65 6e 20 74 68 65 20 6d |rs...Oft|en the m|
|00002820| 61 74 68 65 6d 61 74 69 | 63 61 6c 20 66 75 6e 63 |athemati|cal func|
|00002830| 74 69 6f 6e 73 20 61 72 | 65 20 69 6d 70 6c 65 6d |tions ar|e implem|
|00002840| 65 6e 74 65 64 20 62 79 | 20 73 69 6d 70 6c 79 20 |ented by| simply |
|00002850| 77 72 69 74 69 6e 67 20 | 64 6f 77 6e 20 74 68 65 |writing |down the|
|00002860| 0d 0a 74 65 78 74 62 6f | 6f 6b 20 66 6f 72 6d 75 |..textbo|ok formu|
|00002870| 6c 61 2e 20 54 68 69 73 | 20 79 69 65 6c 64 73 20 |la. This| yields |
|00002880| 72 65 6c 61 74 69 76 65 | 6c 79 20 63 6f 6d 70 61 |relative|ly compa|
|00002890| 63 74 20 73 6f 75 72 63 | 65 20 63 6f 64 65 2e 20 |ct sourc|e code. |
|000028a0| 42 75 74 2c 20 64 75 65 | 20 74 6f 0d 0a 72 6f 75 |But, due| to..rou|
|000028b0| 6e 64 2d 6f 66 66 20 65 | 72 72 6f 72 20 6f 66 20 |nd-off e|rror of |
|000028c0| 69 6e 74 65 72 6d 65 64 | 69 61 74 65 20 72 65 73 |intermed|iate res|
|000028d0| 75 6c 74 73 2c 20 74 68 | 65 20 66 69 6e 61 6c 20 |ults, th|e final |
|000028e0| 72 65 73 75 6c 74 73 20 | 72 65 74 75 72 6e 65 64 |results |returned|
|000028f0| 20 62 79 20 74 68 65 73 | 65 0d 0a 66 75 6e 63 74 | by thes|e..funct|
|00002900| 69 6f 6e 73 20 61 72 65 | 20 73 6f 6d 65 74 69 6d |ions are| sometim|
|00002910| 65 73 20 76 65 72 79 20 | 69 6e 61 63 63 75 72 61 |es very |inaccura|
|00002920| 74 65 20 6f 72 20 65 76 | 65 6e 20 63 6f 6d 70 6c |te or ev|en compl|
|00002930| 65 74 65 6c 79 20 77 72 | 6f 6e 67 2e 20 4d 6f 72 |etely wr|ong. Mor|
|00002940| 65 6f 76 65 72 2c 0d 0a | 74 68 65 79 20 6d 61 79 |eover,..|they may|
|00002950| 20 6c 65 61 64 20 74 6f | 20 75 6e 68 61 6e 64 6c | lead to| unhandl|
|00002960| 65 64 20 66 6c 6f 61 74 | 69 6e 67 2d 70 6f 69 6e |ed float|ing-poin|
|00002970| 74 20 65 72 72 6f 72 73 | 20 28 74 68 69 73 20 6d |t errors| (this m|
|00002980| 65 61 6e 73 3a 20 70 72 | 6f 67 72 61 6d 20 63 72 |eans: pr|ogram cr|
|00002990| 61 73 68 21 29 2e 0d 0a | 55 6e 6e 65 63 65 73 73 |ash!)...|Unnecess|
|000029a0| 61 72 79 20 74 6f 20 6d | 65 6e 74 69 6f 6e 20 74 |ary to m|ention t|
|000029b0| 68 61 74 20 74 68 65 20 | 63 6f 64 65 20 74 68 75 |hat the |code thu|
|000029c0| 73 20 67 65 6e 65 72 61 | 74 65 64 20 69 73 20 72 |s genera|ted is r|
|000029d0| 61 74 68 65 72 20 73 6c | 6f 77 2e 0d 0a 0d 0a 46 |ather sl|ow.....F|
|000029e0| 6f 72 20 70 72 6f 67 72 | 61 6d 6d 65 72 73 20 77 |or progr|ammers w|
|000029f0| 68 6f 20 70 72 65 66 65 | 72 20 63 6c 61 73 73 69 |ho prefe|r classi|
|00002a00| 73 20 43 2d 73 74 79 6c | 65 20 66 75 6e 63 74 69 |s C-styl|e functi|
|00002a10| 6f 6e 73 20 6f 76 65 72 | 20 43 2b 2b 2c 20 43 4d |ons over| C++, CM|
|00002a20| 41 54 48 0d 0a 70 72 6f | 76 69 64 65 73 20 61 6c |ATH..pro|vides al|
|00002a30| 6c 20 63 6f 6d 70 6c 65 | 78 2d 6e 75 6d 62 65 72 |l comple|x-number|
|00002a40| 20 6f 70 65 72 61 74 69 | 6f 6e 73 20 61 6e 64 20 | operati|ons and |
|00002a50| 66 75 6e 63 74 69 6f 6e | 73 20 61 6c 73 6f 20 66 |function|s also f|
|00002a60| 6f 72 20 74 68 65 20 6c | 61 6e 67 75 61 67 65 20 |or the l|anguage |
|00002a70| 43 2e 0d 0a 54 68 69 73 | 20 69 73 20 61 63 63 6f |C...This| is acco|
|00002a80| 6d 70 6c 69 73 68 65 64 | 20 74 68 72 6f 75 67 68 |mplished| through|
|00002a90| 20 61 6e 20 61 64 64 69 | 74 69 6f 6e 61 6c 20 73 | an addi|tional s|
|00002aa0| 65 74 20 6f 66 20 61 6c | 74 65 72 6e 61 74 69 76 |et of al|ternativ|
|00002ab0| 65 20 64 65 63 6c 61 72 | 61 74 69 6f 6e 73 0d 0a |e declar|ations..|
|00002ac0| 6f 66 20 74 68 65 20 63 | 6f 6d 70 6c 65 78 20 74 |of the c|omplex t|
|00002ad0| 79 70 65 73 20 61 73 20 | 73 74 72 75 63 74 73 20 |ypes as |structs |
|00002ae0| 69 6e 20 70 6c 61 63 65 | 20 6f 66 20 63 6c 61 73 |in place| of clas|
|00002af0| 73 65 73 2e 0d 0a 56 65 | 72 73 69 6f 6e 73 20 66 |ses...Ve|rsions f|
|00002b00| 6f 72 20 50 61 73 63 61 | 6c 20 61 6e 64 20 46 6f |or Pasca|l and Fo|
|00002b10| 72 74 72 61 6e 20 77 69 | 6c 6c 20 62 65 20 72 65 |rtran wi|ll be re|
|00002b20| 6c 65 61 73 65 64 20 73 | 6f 6f 6e 2c 20 69 6e 20 |leased s|oon, in |
|00002b30| 77 68 69 63 68 20 61 6c | 6c 0d 0a 66 75 6e 63 74 |which al|l..funct|
|00002b40| 69 6f 6e 73 20 73 68 61 | 6c 6c 20 68 61 76 65 20 |ions sha|ll have |
|00002b50| 74 68 65 20 73 61 6d 65 | 20 6e 61 6d 65 73 20 61 |the same| names a|
|00002b60| 73 20 69 6e 20 74 68 65 | 20 43 20 76 65 72 73 69 |s in the| C versi|
|00002b70| 6f 6e 2c 20 61 73 20 66 | 61 72 20 61 73 20 70 6f |on, as f|ar as po|
|00002b80| 73 73 69 62 6c 65 2e 0d | 0a 54 68 65 20 43 2b 2b |ssible..|.The C++|
|00002b90| 20 63 6c 61 73 73 65 73 | 20 61 6e 64 20 74 68 65 | classes| and the|
|00002ba0| 20 43 20 73 74 72 75 63 | 74 73 20 61 72 65 20 62 | C struc|ts are b|
|00002bb0| 69 6e 61 72 79 20 63 6f | 6d 70 61 74 69 62 6c 65 |inary co|mpatible|
|00002bc0| 20 77 69 74 68 20 65 61 | 63 68 20 6f 74 68 65 72 | with ea|ch other|
|00002bd0| 2e 0d 0a 54 68 69 73 20 | 70 6f 69 6e 74 20 6d 61 |...This |point ma|
|00002be0| 79 20 62 65 63 6f 6d 65 | 20 69 6d 70 6f 72 74 61 |y become| importa|
|00002bf0| 6e 74 20 66 6f 72 20 6c | 61 72 67 65 20 70 72 6f |nt for l|arge pro|
|00002c00| 6a 65 63 74 73 20 77 69 | 74 68 20 6d 69 78 65 64 |jects wi|th mixed|
|00002c10| 20 43 20 61 6e 64 20 43 | 2b 2b 0d 0a 6d 6f 64 75 | C and C|++..modu|
|00002c20| 6c 65 73 2e 0d 0a 0d 0a | 45 78 69 73 74 69 6e 67 |les.....|Existing|
|00002c30| 20 43 2b 2b 20 63 6f 64 | 65 20 77 68 69 63 68 20 | C++ cod|e which |
|00002c40| 75 73 65 73 20 74 68 65 | 20 63 6f 6d 70 6c 65 78 |uses the| complex|
|00002c50| 20 63 6c 61 73 73 20 6c | 69 62 72 61 72 79 20 63 | class l|ibrary c|
|00002c60| 6f 6e 74 61 69 6e 65 64 | 20 69 6e 0d 0a 3c 63 6f |ontained| in..<co|
|00002c70| 6d 70 6c 65 78 2e 68 3e | 20 63 61 6e 20 62 65 20 |mplex.h>| can be |
|00002c80| 6c 65 66 74 20 75 6e 63 | 68 61 6e 67 65 64 2c 20 |left unc|hanged, |
|00002c90| 62 65 63 61 75 73 65 20 | 74 68 65 20 43 4d 41 54 |because |the CMAT|
|00002ca0| 48 20 66 75 6e 63 74 69 | 6f 6e 73 20 61 6e 64 20 |H functi|ons and |
|00002cb0| 64 61 74 61 0d 0a 74 79 | 70 65 73 20 61 72 65 20 |data..ty|pes are |
|00002cc0| 61 6c 73 6f 20 62 69 6e | 61 72 79 20 63 6f 6d 70 |also bin|ary comp|
|00002cd0| 61 74 69 62 6c 65 20 77 | 69 74 68 20 74 68 6f 73 |atible w|ith thos|
|00002ce0| 65 20 6f 66 20 3c 63 6f | 6d 70 6c 65 78 2e 68 3e |e of <co|mplex.h>|
|00002cf0| 2e 0d 0a 48 65 72 65 20 | 69 73 20 61 20 64 65 74 |...Here |is a det|
|00002d00| 61 69 6c 65 64 20 64 65 | 73 63 72 69 70 74 69 6f |ailed de|scriptio|
|00002d10| 6e 20 6f 66 20 68 6f 77 | 20 74 6f 20 73 77 69 74 |n of how| to swit|
|00002d20| 63 68 20 66 72 6f 6d 20 | 74 68 65 20 63 6f 6d 70 |ch from |the comp|
|00002d30| 6c 65 78 20 63 6c 61 73 | 73 65 73 20 6f 66 0d 0a |lex clas|ses of..|
|00002d40| 42 6f 72 6c 61 6e 64 20 | 43 2b 2b 20 74 6f 20 74 |Borland |C++ to t|
|00002d50| 68 65 20 6e 65 77 20 69 | 6d 70 6c 65 6d 65 6e 74 |he new i|mplement|
|00002d60| 61 74 69 6f 6e 20 67 69 | 76 65 6e 20 62 79 20 43 |ation gi|ven by C|
|00002d70| 4d 41 54 48 3a 0d 0a 0d | 0a 2a 20 20 49 6e 20 43 |MATH:...|.* In C|
|00002d80| 2b 2b 20 6d 6f 64 75 6c | 65 73 2c 20 72 65 70 6c |++ modul|es, repl|
|00002d90| 61 63 65 20 74 68 65 20 | 73 74 61 74 65 6d 65 6e |ace the |statemen|
|00002da0| 74 0d 0a 20 20 20 20 20 | 20 20 23 69 6e 63 6c 75 |t.. | #inclu|
|00002db0| 64 65 20 3c 63 6f 6d 70 | 6c 65 78 2e 68 3e 0d 0a |de <comp|lex.h>..|
|00002dc0| 20 20 20 62 79 20 74 68 | 65 20 73 74 61 74 65 6d | by th|e statem|
|00002dd0| 65 6e 74 0d 0a 20 20 20 | 20 20 20 20 23 69 6e 63 |ent.. | #inc|
|00002de0| 6c 75 64 65 20 3c 6e 65 | 77 63 70 6c 78 2e 68 3e |lude <ne|wcplx.h>|
|00002df0| 0d 0a 20 20 20 54 68 65 | 6e 2c 20 74 68 65 20 66 |.. The|n, the f|
|00002e00| 6f 6c 6c 6f 77 69 6e 67 | 20 74 68 72 65 65 20 63 |ollowing| three c|
|00002e10| 6f 6d 70 6c 65 78 20 63 | 6c 61 73 73 65 73 20 61 |omplex c|lasses a|
|00002e20| 72 65 20 64 65 66 69 6e | 65 64 3a 0d 0a 20 20 20 |re defin|ed:.. |
|00002e30| 63 6c 61 73 73 20 63 6f | 6d 70 6c 65 78 3c 66 6c |class co|mplex<fl|
|00002e40| 6f 61 74 3e 2c 20 20 63 | 6c 61 73 73 20 63 6f 6d |oat>, c|lass com|
|00002e50| 70 6c 65 78 3c 64 6f 75 | 62 6c 65 3e 2c 0d 0a 20 |plex<dou|ble>,.. |
|00002e60| 20 20 61 6e 64 20 20 63 | 6c 61 73 73 20 63 6f 6d | and c|lass com|
|00002e70| 70 6c 65 78 3c 65 78 74 | 65 6e 64 65 64 3e 2e 0d |plex<ext|ended>..|
|00002e80| 0a 0d 0a 20 20 20 54 68 | 65 20 64 61 74 61 20 74 |... Th|e data t|
|00002e90| 79 70 65 73 20 66 43 6f | 6d 70 6c 65 78 2c 20 64 |ypes fCo|mplex, d|
|00002ea0| 43 6f 6d 70 6c 65 78 2c | 20 61 6e 64 20 65 43 6f |Complex,| and eCo|
|00002eb0| 6d 70 6c 65 78 20 61 72 | 65 20 64 65 66 69 6e 65 |mplex ar|e define|
|00002ec0| 64 20 61 73 0d 0a 20 20 | 20 73 79 6e 6f 6e 79 6d |d as.. | synonym|
|00002ed0| 73 20 66 6f 72 20 74 68 | 65 73 65 20 63 6c 61 73 |s for th|ese clas|
|00002ee0| 73 65 73 2e 0d 0a 20 20 | 20 49 6e 20 6f 72 64 65 |ses... | In orde|
|00002ef0| 72 20 74 6f 20 61 76 6f | 69 64 20 74 68 65 20 6c |r to avo|id the l|
|00002f00| 65 74 74 65 72 20 22 4c | 22 20 28 77 68 69 63 68 |etter "L|" (which|
|00002f10| 20 69 73 20 61 6c 72 65 | 61 64 79 20 6f 76 65 72 | is alre|ady over|
|00002f20| 2d 75 73 65 64 20 62 79 | 20 22 6c 6f 6e 67 20 69 |-used by| "long i|
|00002f30| 6e 74 22 0d 0a 20 20 20 | 61 6e 64 20 22 75 6e 73 |nt".. |and "uns|
|00002f40| 69 67 6e 65 64 20 6c 6f | 6e 67 22 20 69 6e 20 74 |igned lo|ng" in t|
|00002f50| 68 65 20 6c 61 6e 67 75 | 61 67 65 20 43 29 2c 20 |he langu|age C), |
|00002f60| 74 68 65 20 74 79 70 65 | 20 22 65 78 74 65 6e 64 |the type| "extend|
|00002f70| 65 64 22 20 69 73 20 75 | 73 65 64 20 68 65 72 65 |ed" is u|sed here|
|00002f80| 0d 0a 20 20 20 61 73 20 | 61 20 73 79 6e 6f 6e 79 |.. as |a synony|
|00002f90| 6d 20 66 6f 72 20 22 6c | 6f 6e 67 20 64 6f 75 62 |m for "l|ong doub|
|00002fa0| 6c 65 22 2e 20 43 6f 6e | 73 65 71 75 65 6e 74 6c |le". Con|sequentl|
|00002fb0| 79 2c 20 74 68 65 20 63 | 6f 6d 70 6c 65 78 20 64 |y, the c|omplex d|
|00002fc0| 61 74 61 20 74 79 70 65 | 0d 0a 20 20 20 63 6f 6e |ata type|.. con|
|00002fd0| 73 69 73 74 69 6e 67 20 | 6f 66 20 6c 6f 6e 67 20 |sisting |of long |
|00002fe0| 64 6f 75 62 6c 65 73 20 | 69 73 20 6e 61 6d 65 64 |doubles |is named|
|00002ff0| 20 22 65 43 6f 6d 70 6c | 65 78 22 2e 20 54 68 65 | "eCompl|ex". The|
|00003000| 72 65 62 79 2c 20 74 68 | 65 20 77 61 79 20 69 73 |reby, th|e way is|
|00003010| 20 68 65 6c 64 0d 0a 20 | 20 20 6f 70 65 6e 20 66 | held.. | open f|
|00003020| 6f 72 20 61 20 66 75 74 | 75 72 65 20 69 6e 63 6c |or a fut|ure incl|
|00003030| 75 73 69 6f 6e 20 6f 66 | 20 77 68 6f 6c 65 2d 6e |usion of| whole-n|
|00003040| 75 6d 62 65 72 20 63 6f | 6d 70 6c 65 78 20 74 79 |umber co|mplex ty|
|00003050| 70 65 73 20 69 6e 74 6f | 20 43 4d 41 54 48 2e 0d |pes into| CMATH..|
|00003060| 0a 20 20 20 54 68 65 6e | 2c 22 6c 69 43 6f 6d 70 |. Then|,"liComp|
|00003070| 6c 65 78 22 20 61 6e 64 | 20 22 75 6c 43 6f 6d 70 |lex" and| "ulComp|
|00003080| 6c 65 78 22 20 77 69 6c | 6c 20 64 65 6e 6f 74 65 |lex" wil|l denote|
|00003090| 20 74 68 65 20 63 6f 6d | 70 6c 65 78 20 74 79 70 | the com|plex typ|
|000030a0| 65 73 20 63 6f 6e 73 69 | 73 74 69 6e 67 0d 0a 20 |es consi|sting.. |
|000030b0| 20 20 6f 66 20 22 6c 6f | 6e 67 20 69 6e 74 22 20 | of "lo|ng int" |
|000030c0| 6f 72 20 22 75 6e 73 69 | 67 6e 65 64 20 6c 6f 6e |or "unsi|gned lon|
|000030d0| 67 22 20 70 61 72 74 73 | 2c 20 72 65 73 70 65 63 |g" parts|, respec|
|000030e0| 74 69 76 65 6c 79 2e 0d | 0a 0d 0a 2a 20 20 49 66 |tively..|...* If|
|000030f0| 20 79 6f 75 20 70 72 65 | 66 65 72 20 74 6f 20 68 | you pre|fer to h|
|00003100| 61 76 65 20 74 68 65 20 | 22 63 6c 61 73 73 69 63 |ave the |"classic|
|00003110| 22 20 63 6c 61 73 73 20 | 63 6f 6d 70 6c 65 78 20 |" class |complex |
|00003120| 6f 66 20 6f 6c 64 65 72 | 20 72 65 6c 65 61 73 65 |of older| release|
|00003130| 73 0d 0a 20 20 20 6f 66 | 20 42 6f 72 6c 61 6e 64 |s.. of| Borland|
|00003140| 20 43 2b 2b 2c 20 79 6f | 75 20 68 61 76 65 20 74 | C++, yo|u have t|
|00003150| 6f 20 64 65 63 6c 61 72 | 65 0d 0a 20 20 20 20 20 |o declar|e.. |
|00003160| 20 20 23 64 65 66 69 6e | 65 20 43 4d 41 54 48 5f | #defin|e CMATH_|
|00003170| 43 4c 41 53 53 49 43 5f | 43 4f 4d 50 4c 45 58 0d |CLASSIC_|COMPLEX.|
|00003180| 0a 20 20 20 62 65 66 6f | 72 65 20 28 21 29 20 69 |. befo|re (!) i|
|00003190| 6e 63 6c 75 64 69 6e 67 | 20 3c 6e 65 77 63 70 6c |ncluding| <newcpl|
|000031a0| 78 2e 68 3e 2e 0d 0a 20 | 20 20 49 6e 20 74 68 69 |x.h>... | In thi|
|000031b0| 73 20 63 61 73 65 2c 20 | 6f 6e 6c 79 20 74 68 65 |s case, |only the|
|000031c0| 20 63 6c 61 73 73 20 63 | 6f 6d 70 6c 65 78 20 77 | class c|omplex w|
|000031d0| 69 6c 6c 20 62 65 20 64 | 65 66 69 6e 65 64 20 61 |ill be d|efined a|
|000031e0| 6e 64 20 67 65 74 73 20 | 74 68 65 20 73 79 6e 6f |nd gets |the syno|
|000031f0| 6e 79 6d 0d 0a 20 20 20 | 64 43 6f 6d 70 6c 65 78 |nym.. |dComplex|
|00003200| 2e 20 48 65 72 65 20 79 | 6f 75 20 77 69 6c 6c 20 |. Here y|ou will |
|00003210| 68 61 76 65 20 6e 6f 20 | 61 63 63 65 73 73 20 74 |have no |access t|
|00003220| 6f 20 74 68 65 20 63 6f | 6d 70 6c 65 78 2d 6e 75 |o the co|mplex-nu|
|00003230| 6d 62 65 72 20 66 75 6e | 63 74 69 6f 6e 73 20 6f |mber fun|ctions o|
|00003240| 66 0d 0a 20 20 20 66 6c | 6f 61 74 20 61 6e 64 20 |f.. fl|oat and |
|00003250| 6f 66 20 65 78 74 65 6e | 64 65 64 20 70 72 65 63 |of exten|ded prec|
|00003260| 69 73 69 6f 6e 2e 0d 0a | 0d 0a 2a 20 20 46 6f 72 |ision...|..* For|
|00003270| 20 43 20 6d 6f 64 75 6c | 65 73 2c 20 79 6f 75 20 | C modul|es, you |
|00003280| 63 61 6e 6e 6f 74 20 69 | 6e 63 6c 75 64 65 20 3c |cannot i|nclude <|
|00003290| 6e 65 78 63 70 6c 78 2e | 68 3e 2e 20 52 61 74 68 |nexcplx.|h>. Rath|
|000032a0| 65 72 2c 20 70 6c 65 61 | 73 65 20 64 65 63 6c 61 |er, plea|se decla|
|000032b0| 72 65 0d 0a 20 20 20 20 | 20 20 23 69 6e 63 6c 75 |re.. | #inclu|
|000032c0| 64 65 20 3c 63 6d 61 74 | 68 2e 68 3e 0d 0a 20 20 |de <cmat|h.h>.. |
|000032d0| 20 49 66 20 79 6f 75 20 | 61 72 65 20 75 73 69 6e | If you |are usin|
|000032e0| 67 20 6f 6e 6c 79 20 6f | 6e 65 20 6c 65 76 65 6c |g only o|ne level|
|000032f0| 20 6f 66 20 66 6c 6f 61 | 74 69 6e 67 2d 70 6f 69 | of floa|ting-poi|
|00003300| 6e 74 20 70 72 65 63 69 | 73 69 6f 6e 2c 20 79 6f |nt preci|sion, yo|
|00003310| 75 20 6d 61 79 0d 0a 20 | 20 20 77 69 73 68 20 74 |u may.. | wish t|
|00003320| 6f 20 69 6e 63 6c 75 64 | 65 20 6f 6e 6c 79 20 6f |o includ|e only o|
|00003330| 6e 65 20 6f 66 20 74 68 | 65 20 74 79 70 65 2d 73 |ne of th|e type-s|
|00003340| 70 65 63 69 66 69 63 20 | 69 6e 63 6c 75 64 65 2d |pecific |include-|
|00003350| 66 69 6c 65 73 3a 0d 0a | 20 20 20 3c 63 66 6d 61 |files:..| <cfma|
|00003360| 74 68 2e 68 3e 2c 20 20 | 3c 63 64 6d 61 74 68 2e |th.h>, |<cdmath.|
|00003370| 68 3e 2c 20 6f 72 20 3c | 63 65 6d 61 74 68 2e 68 |h>, or <|cemath.h|
|00003380| 3e 2c 20 72 65 73 70 65 | 63 74 69 76 65 6c 79 2e |>, respe|ctively.|
|00003390| 0d 0a 20 20 20 54 68 65 | 20 70 6c 61 69 6e 2d 43 |.. The| plain-C|
|000033a0| 20 69 6d 70 6c 65 6d 65 | 6e 74 61 74 69 6f 6e 20 | impleme|ntation |
|000033b0| 6f 66 20 43 4d 41 54 48 | 20 69 73 20 62 61 73 65 |of CMATH| is base|
|000033c0| 64 20 75 70 6f 6e 20 74 | 68 65 20 66 6f 6c 6c 6f |d upon t|he follo|
|000033d0| 77 69 6e 67 0d 0a 20 20 | 20 64 65 66 69 6e 69 74 |wing.. | definit|
|000033e0| 69 6f 6e 73 20 6f 66 20 | 74 68 65 20 74 68 72 65 |ions of |the thre|
|000033f0| 65 20 63 6f 6d 70 6c 65 | 78 20 64 61 74 61 20 74 |e comple|x data t|
|00003400| 79 70 65 73 3a 0d 0a 20 | 20 20 20 20 20 74 79 70 |ypes:.. | typ|
|00003410| 65 64 65 66 20 20 73 74 | 72 75 63 74 20 7b 20 66 |edef st|ruct { f|
|00003420| 6c 6f 61 74 20 20 20 20 | 20 52 65 2c 20 49 6d 3b |loat | Re, Im;|
|00003430| 20 7d 20 20 66 43 6f 6d | 70 6c 65 78 3b 0d 0a 20 | } fCom|plex;.. |
|00003440| 20 20 20 20 20 74 79 70 | 65 64 65 66 20 20 73 74 | typ|edef st|
|00003450| 72 75 63 74 20 7b 20 64 | 6f 75 62 6c 65 20 20 20 |ruct { d|ouble |
|00003460| 20 52 65 2c 20 49 6d 3b | 20 7d 20 20 64 43 6f 6d | Re, Im;| } dCom|
|00003470| 70 6c 65 78 3b 0d 0a 20 | 20 20 20 20 20 74 79 70 |plex;.. | typ|
|00003480| 65 64 65 66 20 20 73 74 | 72 75 63 74 20 7b 20 65 |edef st|ruct { e|
|00003490| 78 74 65 6e 64 65 64 20 | 20 52 65 2c 20 49 6d 3b |xtended | Re, Im;|
|000034a0| 20 7d 20 20 65 43 6f 6d | 70 6c 65 78 3b 0d 0a 0d | } eCom|plex;...|
|000034b0| 0a 20 20 20 41 73 20 64 | 65 73 63 72 69 62 65 64 |. As d|escribed|
|000034c0| 20 61 62 6f 76 65 2c 20 | 74 68 65 20 64 61 74 61 | above, |the data|
|000034d0| 20 74 79 70 65 20 22 65 | 78 74 65 6e 64 65 64 22 | type "e|xtended"|
|000034e0| 20 69 73 20 75 73 65 64 | 20 61 73 20 61 20 73 79 | is used| as a sy|
|000034f0| 6e 6f 6e 79 6d 20 66 6f | 72 0d 0a 20 20 20 22 6c |nonym fo|r.. "l|
|00003500| 6f 6e 67 20 64 6f 75 62 | 6c 65 22 2c 20 69 6e 20 |ong doub|le", in |
|00003510| 6f 72 64 65 72 20 74 6f | 20 61 76 6f 69 64 20 74 |order to| avoid t|
|00003520| 68 65 20 6c 65 74 74 65 | 72 20 22 4c 22 2e 0d 0a |he lette|r "L"...|
|00003530| 0d 0a 2a 20 20 49 6e 20 | 74 68 65 20 43 2b 2b 20 |..* In |the C++ |
|00003540| 63 6c 61 73 73 65 73 2c | 20 74 68 65 20 72 65 61 |classes,| the rea|
|00003550| 6c 20 61 6e 64 20 69 6d | 61 67 69 6e 61 72 79 20 |l and im|aginary |
|00003560| 70 61 72 74 73 20 61 72 | 65 20 64 65 63 6c 61 72 |parts ar|e declar|
|00003570| 65 64 20 61 73 20 70 75 | 62 6c 69 63 0d 0a 20 20 |ed as pu|blic.. |
|00003580| 20 28 69 6e 20 63 6f 6e | 74 72 61 73 74 20 74 6f | (in con|trast to|
|00003590| 20 42 6f 72 6c 61 6e 64 | 20 43 2b 2b 20 21 29 20 | Borland| C++ !) |
|000035a0| 61 6e 64 20 6e 61 6d 65 | 64 20 22 52 65 22 20 61 |and name|d "Re" a|
|000035b0| 6e 64 20 22 49 6d 22 2c | 20 72 65 73 70 65 63 74 |nd "Im",| respect|
|000035c0| 69 76 65 6c 79 2e 0d 0a | 20 20 20 54 68 69 73 20 |ively...| This |
|000035d0| 61 6c 6c 6f 77 73 20 74 | 6f 20 61 63 63 65 73 73 |allows t|o access|
|000035e0| 20 74 68 65 6d 20 61 73 | 20 22 7a 2e 52 65 22 20 | them as| "z.Re" |
|000035f0| 61 6e 64 20 22 7a 2e 49 | 6d 22 20 20 69 6e 20 43 |and "z.I|m" in C|
|00003600| 2b 2b 20 6d 6f 64 75 6c | 65 73 20 61 73 20 77 65 |++ modul|es as we|
|00003610| 6c 6c 0d 0a 20 20 20 61 | 73 20 69 6e 20 43 20 6d |ll.. a|s in C m|
|00003620| 6f 64 75 6c 65 73 2e 0d | 0a 0d 0a 54 68 65 20 69 |odules..|...The i|
|00003630| 6d 70 6c 65 6d 65 6e 74 | 61 74 69 6f 6e 20 64 65 |mplement|ation de|
|00003640| 73 63 72 69 62 65 64 20 | 69 6e 20 74 68 69 73 20 |scribed |in this |
|00003650| 64 6f 63 75 6d 65 6e 74 | 61 74 69 6f 6e 20 72 65 |document|ation re|
|00003660| 66 65 72 73 20 74 6f 20 | 42 6f 72 6c 61 6e 64 20 |fers to |Borland |
|00003670| 43 2b 2b 2c 0d 0a 76 65 | 72 73 69 6f 6e 20 33 2e |C++,..ve|rsion 3.|
|00003680| 30 20 6f 72 20 6c 61 74 | 65 72 20 66 6f 72 20 44 |0 or lat|er for D|
|00003690| 4f 53 20 61 6e 64 20 4d | 69 63 72 6f 73 6f 66 74 |OS and M|icrosoft|
|000036a0| 20 57 69 6e 64 6f 77 73 | 20 33 2e 30 20 6f 72 20 | Windows| 3.0 or |
|000036b0| 6c 61 74 65 72 20 28 6f | 72 20 57 69 6e 2d 4f 53 |later (o|r Win-OS|
|000036c0| 0d 0a 73 65 73 73 69 6f | 6e 73 20 75 6e 64 65 72 |..sessio|ns under|
|000036d0| 20 49 42 4d 20 4f 53 2f | 32 20 32 2e 30 20 6f 72 | IBM OS/|2 2.0 or|
|000036e0| 20 6c 61 74 65 72 3b 20 | 69 6e 20 74 68 65 20 66 | later; |in the f|
|000036f0| 6f 6c 6c 6f 77 69 6e 67 | 2c 20 77 65 20 77 69 6c |ollowing|, we wil|
|00003700| 6c 20 73 69 6d 70 6c 79 | 20 73 70 65 61 6b 0d 0a |l simply| speak..|
|00003710| 6f 66 20 22 57 69 6e 64 | 6f 77 73 22 29 2e 20 54 |of "Wind|ows"). T|
|00003720| 68 65 20 6c 69 62 72 61 | 72 79 20 66 6f 72 20 74 |he libra|ry for t|
|00003730| 68 65 20 6d 65 6d 6f 72 | 79 20 6d 6f 64 65 6c 20 |he memor|y model |
|00003740| 46 4c 41 54 20 66 6f 72 | 20 57 69 6e 64 6f 77 73 |FLAT for| Windows|
|00003750| 39 35 20 61 6e 64 0d 0a | 57 69 6e 64 6f 77 73 4e |95 and..|WindowsN|
|00003760| 54 20 72 65 71 75 69 72 | 65 73 20 42 6f 72 6c 61 |T requir|es Borla|
|00003770| 6e 64 20 43 2b 2b 2c 20 | 76 65 72 73 69 6f 6e 20 |nd C++, |version |
|00003780| 34 2e 30 20 6f 72 20 68 | 69 67 68 65 72 2e 0d 0a |4.0 or h|igher...|
|00003790| 0d 0a 44 65 70 65 6e 64 | 69 6e 67 20 6f 6e 20 79 |..Depend|ing on y|
|000037a0| 6f 75 72 20 63 68 6f 69 | 63 65 20 77 68 65 6e 20 |our choi|ce when |
|000037b0| 6f 72 64 65 72 69 6e 67 | 20 6f 72 20 64 6f 77 6e |ordering| or down|
|000037c0| 6c 6f 61 64 69 6e 67 20 | 74 68 65 20 53 68 61 72 |loading |the Shar|
|000037d0| 65 77 61 72 65 20 76 65 | 72 73 69 6f 6e 0d 0a 6f |eware ve|rsion..o|
|000037e0| 66 20 43 4d 41 54 48 2c | 20 79 6f 75 20 68 61 76 |f CMATH,| you hav|
|000037f0| 65 20 67 6f 74 20 65 69 | 74 68 65 72 20 6f 66 20 |e got ei|ther of |
|00003800| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 74 68 |the foll|owing th|
|00003810| 72 65 65 20 6c 69 62 72 | 61 72 79 20 76 65 72 73 |ree libr|ary vers|
|00003820| 69 6f 6e 73 3a 0d 0a 6d | 65 6d 6f 72 79 20 6d 6f |ions:..m|emory mo|
|00003830| 64 65 6c 20 4c 41 52 47 | 45 20 66 6f 72 20 44 4f |del LARG|E for DO|
|00003840| 53 2c 20 4c 41 52 47 45 | 20 66 6f 72 20 57 69 6e |S, LARGE| for Win|
|00003850| 64 6f 77 73 20 33 2e 78 | 2c 20 6f 72 20 46 4c 41 |dows 3.x|, or FLA|
|00003860| 54 20 66 6f 72 20 57 69 | 6e 64 6f 77 73 39 35 2f |T for Wi|ndows95/|
|00003870| 4e 54 2e 0d 0a 41 6c 6c | 20 6f 66 20 74 68 65 6d |NT...All| of them|
|00003880| 20 72 65 71 75 69 72 65 | 2c 20 61 74 20 6c 65 61 | require|, at lea|
|00003890| 73 74 2c 20 61 20 33 38 | 36 20 63 6f 6d 70 75 74 |st, a 38|6 comput|
|000038a0| 65 72 20 65 71 75 69 70 | 70 65 64 20 77 69 74 68 |er equip|ped with|
|000038b0| 20 61 20 33 38 37 0d 0a | 63 6f 70 72 6f 63 65 73 | a 387..|coproces|
|000038c0| 73 6f 72 2e 20 54 68 69 | 73 20 6d 65 61 6e 73 3a |sor. Thi|s means:|
|000038d0| 20 6e 6f 20 65 6d 75 6c | 61 74 69 6f 6e 2c 20 6e | no emul|ation, n|
|000038e0| 6f 20 34 38 36 53 58 2c | 20 62 75 74 20 70 72 65 |o 486SX,| but pre|
|000038f0| 66 65 72 72 61 62 6c 79 | 20 34 38 36 44 58 2c 0d |ferrably| 486DX,.|
|00003900| 0a 50 65 6e 74 69 75 6d | 20 6f 72 20 68 69 67 68 |.Pentium| or high|
|00003910| 65 72 2e 0d 0a 54 68 65 | 20 66 75 6c 6c 20 28 72 |er...The| full (r|
|00003920| 65 67 69 73 74 65 72 65 | 64 29 20 76 65 72 73 69 |egistere|d) versi|
|00003930| 6f 6e 20 63 6f 6e 74 61 | 69 6e 73 20 6c 69 62 72 |on conta|ins libr|
|00003940| 61 72 69 65 73 20 66 6f | 72 20 61 6c 6c 20 6d 65 |aries fo|r all me|
|00003950| 6d 6f 72 79 20 6d 6f 64 | 65 6c 73 20 6f 66 0d 0a |mory mod|els of..|
|00003960| 44 4f 53 2c 20 31 36 2d | 62 69 74 20 57 69 6e 64 |DOS, 16-|bit Wind|
|00003970| 6f 77 73 20 61 6e 64 20 | 33 32 2d 62 69 74 20 57 |ows and |32-bit W|
|00003980| 69 6e 64 6f 77 73 2e 20 | 54 68 65 73 65 20 6c 69 |indows. |These li|
|00003990| 62 72 61 72 69 65 73 20 | 69 6e 20 74 75 72 6e 20 |braries |in turn |
|000039a0| 61 72 65 20 73 68 69 70 | 70 65 64 0d 0a 69 6e 20 |are ship|ped..in |
|000039b0| 74 68 72 65 65 20 76 65 | 72 73 69 6f 6e 73 3a 0d |three ve|rsions:.|
|000039c0| 0a 6f 6e 65 20 66 6f 72 | 20 34 38 36 44 58 20 61 |.one for| 486DX a|
|000039d0| 6e 64 20 50 65 6e 74 69 | 75 6d 20 63 6f 6d 70 75 |nd Penti|um compu|
|000039e0| 74 65 72 73 2c 20 74 68 | 65 20 73 65 63 6f 6e 64 |ters, th|e second|
|000039f0| 20 66 6f 72 20 33 38 36 | 20 77 69 74 68 20 33 38 | for 386| with 38|
|00003a00| 37 2c 0d 0a 74 68 65 20 | 74 68 69 72 64 20 66 6f |7,..the |third fo|
|00003a10| 72 20 32 38 36 20 77 69 | 74 68 20 6f 72 20 77 69 |r 286 wi|th or wi|
|00003a20| 74 68 6f 75 74 20 63 6f | 70 72 6f 63 65 73 73 6f |thout co|processo|
|00003a30| 72 2c 20 69 2e 65 2e 20 | 77 69 74 68 20 65 6d 75 |r, i.e. |with emu|
|00003a40| 6c 61 74 69 6f 6e 2e 0d | 0a 0d 0a 0d 0a 31 2e 32 |lation..|.....1.2|
|00003a50| 20 4c 69 63 65 6e 63 65 | 20 54 65 72 6d 73 0d 0a | Licence| Terms..|
|00003a60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003a70| 2d 0d 0a 0d 0a 54 68 69 | 73 20 69 73 20 74 68 65 |-....Thi|s is the|
|00003a80| 20 45 6e 67 6c 69 73 68 | 20 53 68 61 72 65 77 61 | English| Sharewa|
|00003a90| 72 65 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 43 4d |re versi|on of CM|
|00003aa0| 41 54 48 20 66 6f 72 20 | 42 6f 72 6c 61 6e 64 20 |ATH for |Borland |
|00003ab0| 43 2b 2b 20 28 22 53 6f | 66 74 77 61 72 65 22 29 |C++ ("So|ftware")|
|00003ac0| 2e 0d 0a 49 74 20 6d 61 | 79 20 62 65 20 75 73 65 |...It ma|y be use|
|00003ad0| 64 20 75 6e 64 65 72 20 | 74 68 65 20 66 6f 6c 6c |d under |the foll|
|00003ae0| 6f 77 69 6e 67 20 6c 69 | 63 65 6e 63 65 20 74 65 |owing li|cence te|
|00003af0| 72 6d 73 3a 0d 0a 0d 0a | 31 2e 20 59 6f 75 20 6d |rms:....|1. You m|
|00003b00| 61 79 20 74 65 73 74 20 | 74 68 65 20 53 4f 46 54 |ay test |the SOFT|
|00003b10| 57 41 52 45 20 66 72 65 | 65 20 6f 66 20 63 68 61 |WARE fre|e of cha|
|00003b20| 72 67 65 20 66 6f 72 20 | 61 6e 20 75 6e 6c 69 6d |rge for |an unlim|
|00003b30| 69 74 65 64 20 70 65 72 | 69 6f 64 20 6f 66 20 74 |ited per|iod of t|
|00003b40| 69 6d 65 2e 0d 0a 20 20 | 20 54 68 69 73 20 74 65 |ime... | This te|
|00003b50| 73 74 69 6e 67 20 70 68 | 61 73 65 20 65 6e 64 73 |sting ph|ase ends|
|00003b60| 20 77 68 65 6e 20 79 6f | 75 20 70 65 72 6d 61 6e | when yo|u perman|
|00003b70| 65 6e 74 6c 79 20 69 6e | 74 65 67 72 61 74 65 20 |ently in|tegrate |
|00003b80| 66 75 6e 63 74 69 6f 6e | 73 20 6f 66 20 74 68 69 |function|s of thi|
|00003b90| 73 0d 0a 20 20 20 53 4f | 46 54 57 41 52 45 20 69 |s.. SO|FTWARE i|
|00003ba0| 6e 74 6f 20 61 6e 79 20 | 6f 66 20 79 6f 75 72 20 |nto any |of your |
|00003bb0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 73 20 28 70 72 |applicat|ions (pr|
|00003bc0| 6f 67 72 61 6d 73 2c 20 | 70 72 6f 67 72 61 6d 20 |ograms, |program |
|00003bd0| 70 61 72 74 73 2e 2e 2e | 29 2e 0d 0a 32 2e 20 49 |parts...|)...2. I|
|00003be0| 66 20 79 6f 75 20 77 61 | 6e 74 20 74 6f 20 75 73 |f you wa|nt to us|
|00003bf0| 65 20 74 68 69 73 20 53 | 4f 46 54 57 41 52 45 20 |e this S|OFTWARE |
|00003c00| 66 6f 72 20 63 6f 6d 6d | 65 72 63 69 61 6c 20 70 |for comm|ercial p|
|00003c10| 75 72 70 6f 73 65 73 2c | 20 79 6f 75 20 68 61 76 |urposes,| you hav|
|00003c20| 65 0d 0a 20 20 20 74 6f | 20 70 75 72 63 68 61 73 |e.. to| purchas|
|00003c30| 65 20 74 68 65 20 72 65 | 67 69 73 74 65 72 65 64 |e the re|gistered|
|00003c40| 20 76 65 72 73 69 6f 6e | 20 28 73 65 65 20 63 68 | version| (see ch|
|00003c50| 61 70 74 65 72 20 31 2e | 33 29 2e 0d 0a 33 2e 20 |apter 1.|3)...3. |
|00003c60| 55 73 65 20 6f 66 20 74 | 68 69 73 20 53 4f 46 54 |Use of t|his SOFT|
|00003c70| 57 41 52 45 20 66 6f 72 | 20 65 64 75 63 61 74 69 |WARE for| educati|
|00003c80| 6f 6e 61 6c 20 70 75 72 | 70 6f 73 65 73 20 61 74 |onal pur|poses at|
|00003c90| 20 73 63 68 6f 6f 6c 73 | 20 61 6e 64 20 75 6e 69 | schools| and uni|
|00003ca0| 76 65 72 73 69 74 69 65 | 73 0d 0a 20 20 20 72 65 |versitie|s.. re|
|00003cb0| 6d 61 69 6e 73 20 66 72 | 65 65 20 6f 66 20 63 68 |mains fr|ee of ch|
|00003cc0| 61 72 67 65 2e 20 48 6f | 77 65 76 65 72 2c 20 69 |arge. Ho|wever, i|
|00003cd0| 66 20 61 6e 79 20 61 70 | 70 6c 69 63 61 74 69 6f |f any ap|plicatio|
|00003ce0| 6e 20 63 72 65 61 74 65 | 64 20 75 6e 64 65 72 20 |n create|d under |
|00003cf0| 74 68 65 73 65 0d 0a 20 | 20 20 74 65 72 6d 73 20 |these.. | terms |
|00003d00| 69 73 20 73 6f 6c 64 20 | 74 6f 20 6f 74 68 65 72 |is sold |to other|
|00003d10| 73 20 6f 72 20 6f 74 68 | 65 72 77 69 73 65 20 75 |s or oth|erwise u|
|00003d20| 73 65 64 20 66 6f 72 20 | 63 6f 6d 6d 65 72 63 69 |sed for |commerci|
|00003d30| 61 6c 20 70 75 72 70 6f | 73 65 73 2c 0d 0a 20 20 |al purpo|ses,.. |
|00003d40| 20 70 61 72 61 67 72 61 | 70 68 20 32 20 61 70 70 | paragra|ph 2 app|
|00003d50| 6c 69 65 73 2e 0d 0a 34 | 2e 20 44 69 73 74 72 69 |lies...4|. Distri|
|00003d60| 62 75 74 69 6e 67 20 74 | 68 69 73 20 53 4f 46 54 |buting t|his SOFT|
|00003d70| 57 41 52 45 20 74 6f 20 | 6f 74 68 65 72 73 20 69 |WARE to |others i|
|00003d80| 73 20 61 6c 6c 6f 77 65 | 64 20 6f 6e 6c 79 20 69 |s allowe|d only i|
|00003d90| 6e 20 6f 6e 65 20 6f 66 | 20 74 68 65 0d 0a 20 20 |n one of| the.. |
|00003da0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 74 77 6f 20 77 | followi|ng two w|
|00003db0| 61 79 73 3a 0d 0a 20 20 | 20 61 29 20 6c 69 6e 6b |ays:.. | a) link|
|00003dc0| 65 64 20 69 6e 74 6f 20 | 79 6f 75 72 20 70 72 6f |ed into |your pro|
|00003dd0| 67 72 61 6d 73 2c 20 73 | 6f 20 74 68 61 74 20 74 |grams, s|o that t|
|00003de0| 68 65 20 70 61 72 74 73 | 20 73 74 65 6d 6d 69 6e |he parts| stemmin|
|00003df0| 67 20 66 72 6f 6d 20 74 | 68 69 73 0d 0a 20 20 20 |g from t|his.. |
|00003e00| 20 20 20 53 4f 46 54 57 | 41 52 45 20 64 6f 20 6e | SOFTW|ARE do n|
|00003e10| 6f 20 6c 6f 6e 67 65 72 | 20 61 70 70 65 61 72 20 |o longer| appear |
|00003e20| 61 73 20 61 20 6c 69 62 | 72 61 72 79 2e 0d 0a 20 |as a lib|rary... |
|00003e30| 20 20 62 29 20 61 73 20 | 61 20 77 68 6f 6c 65 20 | b) as |a whole |
|00003e40| 69 6e 20 75 6e 63 68 61 | 6e 67 65 64 20 66 6f 72 |in uncha|nged for|
|00003e50| 6d 20 28 69 6e 20 70 61 | 72 74 69 63 75 6c 61 72 |m (in pa|rticular|
|00003e60| 20 74 68 65 20 43 6f 70 | 79 72 69 67 68 74 20 61 | the Cop|yright a|
|00003e70| 6e 64 20 4c 69 63 65 6e | 63 65 0d 0a 20 20 20 20 |nd Licen|ce.. |
|00003e80| 20 20 73 74 61 74 65 6d | 65 6e 74 73 21 29 2c 20 | statem|ents!), |
|00003e90| 77 68 65 72 65 62 79 20 | 79 6f 75 20 6d 61 79 20 |whereby |you may |
|00003ea0| 61 73 6b 20 61 20 66 65 | 65 20 6f 6e 6c 79 20 61 |ask a fe|e only a|
|00003eb0| 6e 64 20 65 78 63 6c 75 | 73 69 76 65 6c 79 20 66 |nd exclu|sively f|
|00003ec0| 6f 72 20 74 68 65 0d 0a | 20 20 20 20 20 20 70 68 |or the..| ph|
|00003ed0| 79 73 69 63 61 6c 20 61 | 63 74 20 6f 66 20 63 6f |ysical a|ct of co|
|00003ee0| 70 79 69 6e 67 20 74 68 | 65 20 53 4f 46 54 57 41 |pying th|e SOFTWA|
|00003ef0| 52 45 2e 0d 0a 35 2e 20 | 54 68 69 73 20 53 4f 46 |RE...5. |This SOF|
|00003f00| 54 57 41 52 45 20 69 73 | 20 70 72 6f 76 69 64 65 |TWARE is| provide|
|00003f10| 64 20 6f 6e 20 61 6e 20 | 22 61 73 20 69 73 22 20 |d on an |"as is" |
|00003f20| 62 61 73 69 73 2e 20 41 | 6e 79 20 65 78 70 6c 69 |basis. A|ny expli|
|00003f30| 63 69 74 20 6f 72 20 69 | 6d 70 6c 69 63 69 74 0d |cit or i|mplicit.|
|00003f40| 0a 20 20 20 77 61 72 72 | 61 6e 74 69 65 73 20 66 |. warr|anties f|
|00003f50| 6f 72 20 74 68 65 20 53 | 4f 46 54 57 41 52 45 20 |or the S|OFTWARE |
|00003f60| 61 72 65 20 65 78 63 6c | 75 64 65 64 2e 0d 0a 20 |are excl|uded... |
|00003f70| 20 20 44 65 73 70 69 74 | 65 20 74 68 6f 72 6f 75 | Despit|e thorou|
|00003f80| 67 68 20 74 65 73 74 69 | 6e 67 20 6f 66 20 74 68 |gh testi|ng of th|
|00003f90| 65 20 53 4f 46 54 57 41 | 52 45 2c 20 65 72 72 6f |e SOFTWA|RE, erro|
|00003fa0| 72 73 20 61 6e 64 20 62 | 75 67 73 20 63 61 6e 6e |rs and b|ugs cann|
|00003fb0| 6f 74 0d 0a 20 20 20 62 | 65 20 65 78 63 6c 75 64 |ot.. b|e exclud|
|00003fc0| 65 64 20 77 69 74 68 20 | 63 65 72 74 61 69 6e 74 |ed with |certaint|
|00003fd0| 79 2e 20 4e 6f 20 63 6c | 61 69 6d 73 20 61 73 20 |y. No cl|aims as |
|00003fe0| 74 6f 20 6d 65 72 63 68 | 61 6e 74 61 62 69 6c 69 |to merch|antabili|
|00003ff0| 74 79 20 6f 72 20 66 69 | 74 6e 65 73 73 0d 0a 20 |ty or fi|tness.. |
|00004000| 20 20 66 6f 72 20 61 20 | 70 61 72 74 69 63 75 6c | for a |particul|
|00004010| 61 72 20 70 75 72 70 6f | 73 65 20 61 72 65 20 6d |ar purpo|se are m|
|00004020| 61 64 65 2e 0d 0a 20 20 | 20 59 6f 75 20 6d 61 79 |ade... | You may|
|00004030| 20 6e 6f 74 20 75 73 65 | 20 74 68 65 20 53 4f 46 | not use| the SOF|
|00004040| 54 57 41 52 45 20 69 6e | 20 61 6e 79 20 65 6e 76 |TWARE in| any env|
|00004050| 69 72 6f 6e 6d 65 6e 74 | 20 6f 72 20 73 69 74 75 |ironment| or situ|
|00004060| 61 74 69 6f 6e 20 77 68 | 65 72 65 0d 0a 20 20 20 |ation wh|ere.. |
|00004070| 70 65 72 73 6f 6e 61 6c | 20 69 6e 6a 75 72 79 20 |personal| injury |
|00004080| 6f 72 20 65 78 63 65 73 | 73 69 76 65 20 64 61 6d |or exces|sive dam|
|00004090| 61 67 65 20 74 6f 20 61 | 6e 79 6f 6e 65 27 73 20 |age to a|nyone's |
|000040a0| 70 72 6f 70 65 72 74 79 | 20 28 69 6e 63 6c 75 64 |property| (includ|
|000040b0| 69 6e 67 0d 0a 20 20 20 | 79 6f 75 72 20 6f 77 6e |ing.. |your own|
|000040c0| 29 20 63 6f 75 6c 64 20 | 61 72 69 73 65 20 66 72 |) could |arise fr|
|000040d0| 6f 6d 20 6d 61 6c 66 75 | 6e 63 74 69 6f 6e 69 6e |om malfu|nctionin|
|000040e0| 67 20 6f 66 20 74 68 65 | 20 53 4f 46 54 57 41 52 |g of the| SOFTWAR|
|000040f0| 45 2e 0d 0a 0d 0a 0d 0a | 43 6f 70 79 72 69 67 68 |E.......|Copyrigh|
|00004100| 74 20 66 6f 72 20 74 68 | 65 20 53 4f 46 54 57 41 |t for th|e SOFTWA|
|00004110| 52 45 20 61 6e 64 20 69 | 74 73 20 64 6f 63 75 6d |RE and i|ts docum|
|00004120| 65 6e 74 61 74 69 6f 6e | 20 28 43 29 20 31 39 39 |entation| (C) 199|
|00004130| 36 2d 31 39 39 38 20 4d | 61 72 74 69 6e 20 53 61 |6-1998 M|artin Sa|
|00004140| 6e 64 65 72 0d 0a 0d 0a | 41 6c 6c 20 72 69 67 68 |nder....|All righ|
|00004150| 74 73 20 72 65 73 65 72 | 76 65 64 2c 20 69 6e 63 |ts reser|ved, inc|
|00004160| 6c 75 64 69 6e 67 20 74 | 68 6f 73 65 20 6f 66 20 |luding t|hose of |
|00004170| 74 72 61 6e 73 6c 61 74 | 69 6f 6e 20 69 6e 74 6f |translat|ion into|
|00004180| 20 66 6f 72 65 69 67 6e | 20 6c 61 6e 67 75 61 67 | foreign| languag|
|00004190| 65 73 2e 0d 0a 0d 0a 41 | 64 64 72 65 73 73 20 6f |es.....A|ddress o|
|000041a0| 66 20 74 68 65 20 61 75 | 74 68 6f 72 3a 0d 0a 20 |f the au|thor:.. |
|000041b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 44 72 2e | | Dr.|
|000041c0| 20 4d 61 72 74 69 6e 20 | 53 61 6e 64 65 72 20 53 | Martin |Sander S|
|000041d0| 6f 66 74 77 61 72 65 20 | 44 65 76 65 6c 6f 70 6d |oftware |Developm|
|000041e0| 65 6e 74 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ent.. | |
|000041f0| 20 20 20 53 65 72 74 81 | 72 6e 65 72 73 74 72 2e | Sert.|rnerstr.|
|00004200| 20 31 31 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 | 11.. | |
|00004210| 20 20 20 44 2d 33 37 30 | 38 35 20 47 94 74 74 69 | D-370|85 G.tti|
|00004220| 6e 67 65 6e 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |ngen.. | |
|00004230| 20 20 20 20 47 65 72 6d | 61 6e 79 0d 0a 20 20 20 | Germ|any.. |
|00004240| 20 20 20 20 20 20 20 20 | 20 20 20 65 2d 6d 61 69 | | e-mai|
|00004250| 6c 3a 20 4d 61 72 74 69 | 6e 53 61 6e 64 65 72 40 |l: Marti|nSander@|
|00004260| 42 69 67 66 6f 6f 74 2e | 63 6f 6d 0d 0a 0d 0a 0d |Bigfoot.|com.....|
|00004270| 0a 0d 0a 31 2e 33 20 52 | 65 67 69 73 74 65 72 65 |...1.3 R|egistere|
|00004280| 64 20 56 65 72 73 69 6f | 6e 0d 0a 2d 2d 2d 2d 2d |d Versio|n..-----|
|00004290| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000042a0| 2d 0d 0a 0d 0a 54 68 65 | 20 66 75 6c 6c 20 28 72 |-....The| full (r|
|000042b0| 65 67 69 73 74 65 72 65 | 64 29 20 76 65 72 73 69 |egistere|d) versi|
|000042c0| 6f 6e 20 6f 66 20 43 4d | 41 54 48 0d 0a 0d 0a 2d |on of CM|ATH....-|
|000042d0| 20 20 73 75 70 70 6f 72 | 74 73 20 61 6c 6c 20 6d | suppor|ts all m|
|000042e0| 65 6d 6f 72 79 20 6d 6f | 64 65 6c 73 20 6f 66 20 |emory mo|dels of |
|000042f0| 57 69 6e 64 6f 77 73 39 | 35 2c 20 4e 54 2c 20 33 |Windows9|5, NT, 3|
|00004300| 2e 78 2c 20 61 6e 64 20 | 44 4f 53 0d 0a 0d 0a 2d |.x, and |DOS....-|
|00004310| 20 20 68 61 73 20 69 6e | 64 69 76 69 64 75 61 6c | has in|dividual|
|00004320| 6c 79 20 6f 70 74 69 6d | 69 7a 65 64 20 6c 69 62 |ly optim|ized lib|
|00004330| 72 61 72 69 65 73 20 66 | 6f 72 20 65 61 63 68 20 |raries f|or each |
|00004340| 64 65 67 72 65 65 20 6f | 66 20 70 72 6f 63 65 73 |degree o|f proces|
|00004350| 73 6f 72 0d 0a 20 20 20 | 62 61 63 6b 77 61 72 64 |sor.. |backward|
|00004360| 2d 63 6f 6d 70 61 74 69 | 62 69 6c 69 74 79 3a 0d |-compati|bility:.|
|00004370| 0a 20 20 20 20 20 20 34 | 38 36 44 58 2f 50 65 6e |. 4|86DX/Pen|
|00004380| 74 69 75 6d 2b 0d 0a 20 | 20 20 20 20 20 33 38 36 |tium+.. | 386|
|00004390| 2b 20 28 33 38 37 20 63 | 6f 70 72 6f 63 65 73 73 |+ (387 c|oprocess|
|000043a0| 6f 72 20 72 65 71 75 69 | 72 65 64 29 0d 0a 20 20 |or requi|red).. |
|000043b0| 20 20 20 20 32 38 36 2b | 20 28 6e 6f 20 63 6f 70 | 286+| (no cop|
|000043c0| 72 6f 63 65 73 73 6f 72 | 20 72 65 71 75 69 72 65 |rocessor| require|
|000043d0| 64 29 2e 0d 0a 0d 0a 2d | 20 20 63 6f 6d 65 73 20 |d).....-| comes |
|000043e0| 77 69 74 68 20 70 72 69 | 6e 74 65 64 20 64 6f 63 |with pri|nted doc|
|000043f0| 75 6d 65 6e 74 61 74 69 | 6f 6e 2e 0d 0a 0d 0a 2d |umentati|on.....-|
|00004400| 20 20 63 61 6e 20 62 65 | 20 6f 72 64 65 72 65 64 | can be| ordered|
|00004410| 20 61 74 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e | at the |followin|
|00004420| 67 20 63 6f 6e 64 69 74 | 69 6f 6e 73 3a 0d 0a 0d |g condit|ions:...|
|00004430| 0a 20 20 20 61 29 20 69 | 66 20 79 6f 75 20 63 61 |. a) i|f you ca|
|00004440| 6e 20 70 61 79 20 69 6e | 20 47 65 72 6d 61 6e 20 |n pay in| German |
|00004450| 4d 61 72 6b 73 20 28 66 | 72 6f 6d 20 31 39 39 39 |Marks (f|rom 1999|
|00004460| 20 6f 6e 3a 20 69 6e 20 | 45 75 72 6f 29 0d 0a 20 | on: in |Euro).. |
|00004470| 20 20 20 20 20 61 6e 64 | 20 6f 72 64 65 72 20 64 | and| order d|
|00004480| 69 72 65 63 74 6c 79 20 | 66 72 6f 6d 20 74 68 65 |irectly |from the|
|00004490| 20 61 75 74 68 6f 72 2c | 20 74 68 65 20 70 72 69 | author,| the pri|
|000044a0| 63 65 20 69 73 0d 0a 20 | 20 20 20 20 20 44 4d 20 |ce is.. | DM |
|000044b0| 20 39 39 2c 2d 20 66 6f | 72 20 20 31 20 75 6e 69 | 99,- fo|r 1 uni|
|000044c0| 74 2c 0d 0a 20 20 20 20 | 20 20 44 4d 20 33 35 30 |t,.. | DM 350|
|000044d0| 2c 2d 20 66 6f 72 20 20 | 35 20 75 6e 69 74 73 2c |,- for |5 units,|
|000044e0| 0d 0a 20 20 20 20 20 20 | 44 4d 20 36 30 30 2c 2d |.. |DM 600,-|
|000044f0| 20 66 6f 72 20 31 30 20 | 75 6e 69 74 73 20 20 20 | for 10 |units |
|00004500| 20 28 69 6e 63 6c 2e 20 | 31 36 25 20 56 41 54 2c | (incl. |16% VAT,|
|00004510| 20 70 6c 75 73 20 44 4d | 20 31 30 2c 2d 20 68 61 | plus DM| 10,- ha|
|00004520| 6e 64 6c 69 6e 67 20 63 | 68 61 72 67 65 29 2e 0d |ndling c|harge)..|
|00004530| 0a 20 20 20 20 20 20 50 | 6c 65 61 73 65 20 6f 72 |. P|lease or|
|00004540| 64 65 72 20 62 79 20 73 | 65 6e 64 69 6e 67 20 61 |der by s|ending a|
|00004550| 6e 20 65 2d 6d 61 69 6c | 20 74 6f 20 4d 61 72 74 |n e-mail| to Mart|
|00004560| 69 6e 53 61 6e 64 65 72 | 40 62 69 67 66 6f 6f 74 |inSander|@bigfoot|
|00004570| 2e 63 6f 6d 0d 0a 20 20 | 20 20 20 20 6f 72 20 75 |.com.. | or u|
|00004580| 73 65 20 61 20 70 72 69 | 6e 74 2d 6f 75 74 20 6f |se a pri|nt-out o|
|00004590| 66 20 74 68 65 20 66 69 | 6c 65 20 4f 52 44 45 52 |f the fi|le ORDER|
|000045a0| 2e 54 58 54 2e 0d 0a 20 | 20 20 20 20 20 50 61 79 |.TXT... | Pay|
|000045b0| 6d 65 6e 74 20 6f 70 74 | 69 6f 6e 73 3a 0d 0a 20 |ment opt|ions:.. |
|000045c0| 20 20 20 20 20 20 20 20 | 20 2d 20 70 72 65 2d 70 | | - pre-p|
|000045d0| 61 69 64 20 62 79 20 44 | 4d 20 45 75 72 6f 63 68 |aid by D|M Euroch|
|000045e0| 65 71 75 65 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |eque.. | |
|000045f0| 2d 20 43 2e 4f 2e 44 2e | 20 28 43 61 73 68 2d 4f |- C.O.D.| (Cash-O|
|00004600| 6e 2d 44 65 6c 69 76 65 | 72 79 29 0d 0a 20 20 20 |n-Delive|ry).. |
|00004610| 20 20 20 20 20 20 20 2d | 20 75 70 6f 6e 20 69 6e | -| upon in|
|00004620| 76 6f 69 63 65 20 28 6f | 6e 6c 79 20 77 69 74 68 |voice (o|nly with|
|00004630| 69 6e 20 47 65 72 6d 61 | 6e 79 2c 20 6e 65 74 20 |in Germa|ny, net |
|00004640| 31 34 20 64 61 79 73 29 | 0d 0a 0d 0a 20 20 20 20 |14 days)|.... |
|00004650| 20 20 49 66 20 79 6f 75 | 20 68 61 76 65 20 61 20 | If you| have a |
|00004660| 45 75 72 6f 70 65 61 6e | 20 56 41 54 20 49 44 2c |European| VAT ID,|
|00004670| 20 6f 72 20 69 66 20 79 | 6f 75 20 6f 72 64 65 72 | or if y|ou order|
|00004680| 20 66 72 6f 6d 20 6f 75 | 74 73 69 64 65 20 74 68 | from ou|tside th|
|00004690| 65 0d 0a 20 20 20 20 20 | 20 45 75 72 6f 70 65 61 |e.. | Europea|
|000046a0| 6e 20 55 6e 69 6f 6e 2c | 20 79 6f 75 20 61 72 65 |n Union,| you are|
|000046b0| 20 65 78 65 6d 70 74 20 | 66 72 6f 6d 20 74 68 65 | exempt |from the|
|000046c0| 20 47 65 72 6d 61 6e 20 | 56 41 54 2c 20 62 75 74 | German |VAT, but|
|000046d0| 20 79 6f 75 20 6d 61 79 | 0d 0a 20 20 20 20 20 20 | you may|.. |
|000046e0| 68 61 76 65 20 74 6f 20 | 70 61 79 20 79 6f 75 72 |have to |pay your|
|000046f0| 20 6c 6f 63 61 6c 20 56 | 41 54 20 61 6e 64 2f 6f | local V|AT and/o|
|00004700| 72 20 69 6d 70 6f 72 74 | 20 64 75 74 69 65 73 20 |r import| duties |
|00004710| 61 63 63 6f 72 64 69 6e | 67 20 74 6f 0d 0a 20 20 |accordin|g to.. |
|00004720| 20 20 20 20 6c 6f 63 61 | 6c 20 6c 61 77 73 2e 0d | loca|l laws..|
|00004730| 0a 0d 0a 20 20 20 62 29 | 20 49 6e 74 65 72 6e 61 |... b)| Interna|
|00004740| 74 69 6f 6e 61 6c 20 63 | 72 65 64 69 74 20 63 61 |tional c|redit ca|
|00004750| 72 64 20 6f 72 20 55 53 | 2d 24 20 63 68 65 71 75 |rd or US|-$ chequ|
|00004760| 65 20 70 61 79 6d 65 6e | 74 20 69 73 20 70 6f 73 |e paymen|t is pos|
|00004770| 73 69 62 6c 65 20 62 79 | 0d 0a 20 20 20 20 20 20 |sible by|.. |
|00004780| 6f 72 64 65 72 69 6e 67 | 20 74 68 72 6f 75 67 68 |ordering| through|
|00004790| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 77 | the fol|lowing w|
|000047a0| 65 62 2d 73 69 74 65 73 | 3a 0d 0a 0d 0a 20 20 20 |eb-sites|:.... |
|000047b0| 20 20 20 68 74 74 70 3a | 2f 2f 77 77 77 2e 61 74 | http:|//www.at|
|000047c0| 6c 61 6e 74 69 63 2d 63 | 6f 61 73 74 2e 63 6f 6d |lantic-c|oast.com|
|000047d0| 2f 63 67 69 2d 62 69 6e | 2f 73 65 6c 6c 6f 6e 6c |/cgi-bin|/sellonl|
|000047e0| 69 6e 65 2f 31 33 36 2e | 68 74 6d 0d 0a 20 20 20 |ine/136.|htm.. |
|000047f0| 20 20 20 24 20 36 30 20 | 66 6f 72 20 20 31 20 75 | $ 60 |for 1 u|
|00004800| 6e 69 74 2c 0d 0a 20 20 | 20 20 20 20 24 32 30 30 |nit,.. | $200|
|00004810| 20 66 6f 72 20 20 35 20 | 75 6e 69 74 73 2c 0d 0a | for 5 |units,..|
|00004820| 20 20 20 20 20 20 24 33 | 35 30 20 66 6f 72 20 31 | $3|50 for 1|
|00004830| 30 20 75 6e 69 74 73 0d | 0a 20 20 20 20 20 20 41 |0 units.|. A|
|00004840| 64 64 20 24 35 20 66 6f | 72 20 73 68 69 70 70 69 |dd $5 fo|r shippi|
|00004850| 6e 67 26 68 61 6e 64 6c | 69 6e 67 20 61 6e 64 20 |ng&handl|ing and |
|00004860| 61 70 70 6c 69 63 61 62 | 6c 65 20 56 41 54 2e 0d |applicab|le VAT..|
|00004870| 0a 0d 0a 0d 0a 20 20 20 | 20 20 20 68 74 74 70 3a |..... | http:|
|00004880| 2f 2f 77 77 77 2e 73 68 | 61 72 65 69 74 2e 63 6f |//www.sh|areit.co|
|00004890| 6d 2f 70 72 6f 67 72 61 | 6d 73 2f 31 30 31 33 35 |m/progra|ms/10135|
|000048a0| 33 2e 68 74 6d 0d 0a 20 | 20 20 20 20 20 50 72 69 |3.htm.. | Pri|
|000048b0| 63 65 3a 20 24 36 35 20 | 28 69 6e 63 6c 75 64 69 |ce: $65 |(includi|
|000048c0| 6e 67 20 53 26 48 29 2e | 20 41 64 64 20 61 70 70 |ng S&H).| Add app|
|000048d0| 6c 69 63 61 62 6c 65 20 | 56 41 54 2e 0d 0a 20 20 |licable |VAT... |
|000048e0| 20 20 20 20 41 6c 74 65 | 72 6e 61 74 69 76 65 6c | Alte|rnativel|
|000048f0| 79 2c 20 73 65 6e 64 20 | 61 6e 20 65 2d 6d 61 69 |y, send |an e-mai|
|00004900| 6c 20 74 6f 20 72 65 67 | 69 73 74 65 72 40 73 68 |l to reg|ister@sh|
|00004910| 61 72 65 69 74 2e 63 6f | 6d 0d 0a 20 20 20 20 20 |areit.co|m.. |
|00004920| 20 55 53 20 63 75 73 74 | 6f 6d 65 72 73 20 6d 61 | US cust|omers ma|
|00004930| 79 20 61 6c 73 6f 20 6f | 72 64 65 72 20 62 79 20 |y also o|rder by |
|00004940| 63 61 6c 6c 69 6e 67 20 | 31 2d 38 30 30 2d 39 30 |calling |1-800-90|
|00004950| 33 2d 34 31 35 32 0d 0a | 20 20 20 20 20 20 28 6f |3-4152..| (o|
|00004960| 72 64 65 72 73 20 6f 6e | 6c 79 20 70 6c 65 61 73 |rders on|ly pleas|
|00004970| 65 21 29 2e 20 55 53 20 | 63 68 65 63 6b 20 61 6e |e!). US |check an|
|00004980| 64 20 63 61 73 68 20 6f | 72 64 65 72 73 20 63 61 |d cash o|rders ca|
|00004990| 6e 20 62 65 20 73 65 6e | 74 20 74 6f 20 0d 0a 20 |n be sen|t to .. |
|000049a0| 20 20 20 20 20 53 68 61 | 72 65 49 74 21 27 73 20 | Sha|reIt!'s |
|000049b0| 55 53 20 6f 66 66 69 63 | 65 20 61 74 0d 0a 20 20 |US offic|e at.. |
|000049c0| 20 20 20 20 20 20 20 20 | 20 53 68 61 72 65 49 74 | | ShareIt|
|000049d0| 21 20 49 6e 63 2e 0d 0a | 20 20 20 20 20 20 20 20 |! Inc...| |
|000049e0| 20 20 20 50 2e 4f 2e 20 | 42 6f 78 20 39 37 38 34 | P.O. |Box 9784|
|000049f0| 31 20 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 50 |1 .. | P|
|00004a00| 69 74 74 73 62 75 72 67 | 68 2c 20 50 41 20 31 35 |ittsburg|h, PA 15|
|00004a10| 32 32 37 2d 30 32 34 31 | 0d 0a 20 20 20 20 20 20 |227-0241|.. |
|00004a20| 20 20 20 20 20 55 53 41 | 0d 0a 20 20 20 20 20 20 | USA|.. |
|00004a30| 2a 20 50 6c 65 61 73 65 | 20 6e 6f 74 65 20 74 68 |* Please| note th|
|00004a40| 65 20 70 72 6f 67 72 61 | 6d 20 4e 6f 2e 3a 20 31 |e progra|m No.: 1|
|00004a50| 30 31 33 35 33 20 77 68 | 65 6e 20 6f 72 64 65 72 |01353 wh|en order|
|00004a60| 69 6e 67 20 74 68 72 6f | 75 67 68 20 53 68 61 72 |ing thro|ugh Shar|
|00004a70| 65 49 74 21 20 2a 0d 0a | 0d 0a 0d 0a 20 20 20 20 |eIt! *..|.... |
|00004a80| 20 20 55 53 44 20 70 72 | 69 63 65 73 20 61 72 65 | USD pr|ices are|
|00004a90| 20 73 75 62 6a 65 63 74 | 20 74 6f 20 63 68 61 6e | subject| to chan|
|00004aa0| 67 65 20 77 69 74 68 6f | 75 74 20 6e 6f 74 69 63 |ge witho|ut notic|
|00004ab0| 65 2c 20 65 73 70 65 63 | 69 61 6c 6c 79 20 69 6e |e, espec|ially in|
|00004ac0| 20 74 68 65 20 63 61 73 | 65 0d 0a 20 20 20 20 20 | the cas|e.. |
|00004ad0| 20 6f 66 20 73 74 72 6f | 6e 67 20 65 78 63 68 61 | of stro|ng excha|
|00004ae0| 6e 67 65 2d 72 61 74 65 | 20 66 6c 75 63 74 75 61 |nge-rate| fluctua|
|00004af0| 74 69 6f 6e 73 2e 20 50 | 6c 65 61 73 65 20 73 65 |tions. P|lease se|
|00004b00| 65 20 74 68 65 20 61 63 | 74 75 61 6c 20 70 72 69 |e the ac|tual pri|
|00004b10| 63 65 73 0d 0a 20 20 20 | 20 20 20 61 74 20 74 68 |ces.. | at th|
|00004b20| 65 20 77 65 62 2d 73 69 | 74 65 73 20 6d 65 6e 74 |e web-si|tes ment|
|00004b30| 69 6f 6e 65 64 2e 0d 0a | 0d 0a 50 75 72 63 68 61 |ioned...|..Purcha|
|00004b40| 73 69 6e 67 20 74 68 65 | 20 66 75 6c 6c 20 28 72 |sing the| full (r|
|00004b50| 65 67 69 73 74 65 72 65 | 64 29 20 76 65 72 73 69 |egistere|d) versi|
|00004b60| 6f 6e 20 67 69 76 65 73 | 20 79 6f 75 20 74 68 65 |on gives| you the|
|00004b70| 20 72 69 67 68 74 20 74 | 6f 20 75 73 65 20 69 74 | right t|o use it|
|00004b80| 20 6f 6e 0d 0a 61 73 20 | 6d 61 6e 79 20 63 6f 6d | on..as |many com|
|00004b90| 70 75 74 65 72 73 20 61 | 74 20 61 20 74 69 6d 65 |puters a|t a time|
|00004ba0| 20 61 73 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | as the |number o|
|00004bb0| 66 20 75 6e 69 74 73 20 | 79 6f 75 20 62 6f 75 67 |f units |you boug|
|00004bc0| 68 74 2e 0d 0a 43 6f 72 | 70 6f 72 61 74 65 20 73 |ht...Cor|porate s|
|00004bd0| 69 74 65 20 61 6e 64 20 | 77 6f 72 6c 64 2d 77 69 |ite and |world-wi|
|00004be0| 64 65 20 6c 69 63 65 6e | 63 65 73 20 61 72 65 20 |de licen|ces are |
|00004bf0| 61 76 61 69 6c 61 62 6c | 65 20 75 70 6f 6e 20 72 |availabl|e upon r|
|00004c00| 65 71 75 65 73 74 2e 0d | 0a 0d 0a 0d 0a 0d 0a 2a |equest..|.......*|
|00004c10| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004c20| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004c30| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004c40| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004c50| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 0d 0a 2a 20 20 |********|***..* |
|00004c60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004c70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004c80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004c90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004ca0| 20 20 20 20 20 20 20 20 | 2a 0d 0a 2a 2a 2a 2a 2a | |*..*****|
|00004cb0| 2a 2a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |** | |
|00004cc0| 20 20 20 32 2e 20 47 65 | 74 74 69 6e 67 20 53 74 | 2. Ge|tting St|
|00004cd0| 61 72 74 65 64 20 20 20 | 20 20 20 20 20 20 20 20 |arted | |
|00004ce0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004cf0| 2a 2a 2a 2a 2a 2a 2a 0d | 0a 2a 20 20 20 20 20 20 |*******.|.* |
|00004d00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004d10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004d20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004d30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004d40| 20 20 20 20 2a 0d 0a 2a | 2a 2a 2a 2a 2a 2a 2a 2a | *..*|********|
|00004d50| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004d60| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004d70| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004d80| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004d90| 2a 2a 2a 0d 0a 0d 0a 32 | 2e 31 20 49 6e 73 74 61 |***....2|.1 Insta|
|00004da0| 6c 6c 61 74 69 6f 6e 0d | 0a 2d 2d 2d 2d 2d 2d 2d |llation.|.-------|
|00004db0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0d 0a 49 66 20 79 6f |--------|-..If yo|
|00004dc0| 75 20 67 6f 74 20 43 4d | 41 54 48 20 61 73 20 61 |u got CM|ATH as a|
|00004dd0| 20 70 61 72 74 20 6f 66 | 20 4f 70 74 69 56 65 63 | part of| OptiVec|
|00004de0| 20 28 61 20 63 6f 6d 70 | 72 65 68 65 6e 73 69 76 | (a comp|rehensiv|
|00004df0| 65 20 6c 69 62 72 61 72 | 79 20 6f 66 0d 0a 76 65 |e librar|y of..ve|
|00004e00| 63 74 6f 72 69 7a 65 64 | 20 66 75 6e 63 74 69 6f |ctorized| functio|
|00004e10| 6e 73 20 62 79 20 74 68 | 65 20 73 61 6d 65 20 61 |ns by th|e same a|
|00004e20| 75 74 68 6f 72 29 2c 20 | 43 4d 41 54 48 20 69 73 |uthor), |CMATH is|
|00004e30| 20 61 75 74 6f 6d 61 74 | 69 63 61 6c 6c 79 20 69 | automat|ically i|
|00004e40| 6e 73 74 61 6c 6c 65 64 | 0d 0a 77 68 65 6e 20 79 |nstalled|..when y|
|00004e50| 6f 75 20 69 6e 73 74 61 | 6c 6c 20 4f 70 74 69 56 |ou insta|ll OptiV|
|00004e60| 65 63 20 69 74 73 65 6c | 66 2e 20 49 6e 20 74 68 |ec itsel|f. In th|
|00004e70| 69 73 20 63 61 73 65 2c | 20 69 6e 73 74 61 6c 6c |is case,| install|
|00004e80| 61 74 69 6f 6e 20 6f 66 | 20 43 4d 41 54 48 20 69 |ation of| CMATH i|
|00004e90| 73 0d 0a 61 6c 72 65 61 | 64 79 20 69 6e 63 6c 75 |s..alrea|dy inclu|
|00004ea0| 64 65 64 20 61 6e 64 20 | 79 6f 75 20 73 68 6f 75 |ded and |you shou|
|00004eb0| 6c 64 20 73 6b 69 70 20 | 74 68 69 73 20 63 68 61 |ld skip |this cha|
|00004ec0| 70 74 65 72 20 74 6f 20 | 63 6f 6e 74 69 6e 75 65 |pter to |continue|
|00004ed0| 20 77 69 74 68 20 63 68 | 61 70 74 65 72 20 33 2e | with ch|apter 3.|
|00004ee0| 0d 0a 0d 0a 4f 74 68 65 | 72 77 69 73 65 2c 20 70 |....Othe|rwise, p|
|00004ef0| 6c 65 61 73 65 20 6e 6f | 74 65 20 74 68 65 20 66 |lease no|te the f|
|00004f00| 6f 6c 6c 6f 77 69 6e 67 | 20 70 6f 69 6e 74 73 3a |ollowing| points:|
|00004f10| 0d 0a 0d 0a 31 2e 20 20 | 49 6e 20 6f 72 64 65 72 |....1. |In order|
|00004f20| 20 74 6f 20 75 73 65 20 | 43 4d 41 54 48 2c 20 79 | to use |CMATH, y|
|00004f30| 6f 75 20 6e 65 65 64 20 | 61 6e 20 61 6c 72 65 61 |ou need |an alrea|
|00004f40| 64 79 20 69 6e 73 74 61 | 6c 6c 65 64 20 63 6f 70 |dy insta|lled cop|
|00004f50| 79 20 6f 66 20 42 6f 72 | 6c 61 6e 64 0d 0a 20 20 |y of Bor|land.. |
|00004f60| 20 20 43 2f 43 2b 2b 2e | 20 49 6e 73 74 61 6c 6c | C/C++.| Install|
|00004f70| 20 43 4d 41 54 48 20 62 | 79 20 65 78 65 63 75 74 | CMATH b|y execut|
|00004f80| 69 6e 67 20 49 4e 53 54 | 41 4c 4c 2e 45 58 45 20 |ing INST|ALL.EXE |
|00004f90| 6f 6e 20 74 68 65 20 69 | 6e 73 74 61 6c 6c 61 74 |on the i|nstallat|
|00004fa0| 69 6f 6e 20 64 69 73 6b | 2e 0d 0a 0d 0a 32 2e 20 |ion disk|.....2. |
|00004fb0| 20 41 64 64 20 74 68 65 | 20 69 6e 73 74 61 6c 6c | Add the| install|
|00004fc0| 61 74 69 6f 6e 20 64 69 | 72 65 63 74 6f 72 79 20 |ation di|rectory |
|00004fd0| 28 77 68 69 63 68 20 79 | 6f 75 20 63 68 6f 73 65 |(which y|ou chose|
|00004fe0| 20 64 75 72 69 6e 67 20 | 69 6e 73 74 61 6c 6c 61 | during |installa|
|00004ff0| 74 69 6f 6e 29 20 74 6f | 0d 0a 20 20 20 20 74 68 |tion) to|.. th|
|00005000| 65 20 6c 69 62 72 61 72 | 79 20 73 65 61 72 63 68 |e librar|y search|
|00005010| 20 70 61 74 68 20 61 6e | 64 20 74 6f 20 74 68 65 | path an|d to the|
|00005020| 20 69 6e 63 6c 75 64 65 | 2d 66 69 6c 65 20 73 65 | include|-file se|
|00005030| 61 72 63 68 20 70 61 74 | 68 20 6f 66 20 74 68 65 |arch pat|h of the|
|00005040| 20 49 44 45 0d 0a 20 20 | 20 20 61 6e 64 20 6f 66 | IDE.. | and of|
|00005050| 20 74 68 65 20 63 6f 6e | 66 69 67 75 72 61 74 69 | the con|figurati|
|00005060| 6f 6e 20 66 69 6c 65 20 | 54 55 52 42 4f 43 2e 43 |on file |TURBOC.C|
|00005070| 46 47 2c 20 69 6e 20 63 | 61 73 65 20 79 6f 75 20 |FG, in c|ase you |
|00005080| 61 72 65 20 75 73 69 6e | 67 20 74 68 65 0d 0a 20 |are usin|g the.. |
|00005090| 20 20 20 63 6f 6d 6d 61 | 6e 64 2d 6c 69 6e 65 20 | comma|nd-line |
|000050a0| 63 6f 6d 70 69 6c 65 72 | 2e 0d 0a 0d 0a 33 2e 20 |compiler|.....3. |
|000050b0| 20 43 68 6f 6f 73 65 20 | 74 68 65 20 64 65 73 69 | Choose |the desi|
|000050c0| 72 65 64 20 70 6c 61 74 | 66 6f 72 6d 20 28 44 4f |red plat|form (DO|
|000050d0| 53 2c 20 57 69 6e 64 6f | 77 73 33 2e 78 2c 20 6f |S, Windo|ws3.x, o|
|000050e0| 72 20 57 69 6e 33 32 29 | 2e 0d 0a 20 20 20 20 49 |r Win32)|... I|
|000050f0| 66 20 79 6f 75 20 63 68 | 6f 73 65 20 44 4f 53 20 |f you ch|ose DOS |
|00005100| 6f 72 20 57 69 6e 64 6f | 77 73 33 2e 78 2c 20 73 |or Windo|ws3.x, s|
|00005110| 65 6c 65 63 74 20 74 68 | 65 20 6d 65 6d 6f 72 79 |elect th|e memory|
|00005120| 20 6d 6f 64 65 6c 20 4c | 41 52 47 45 2e 0d 0a 20 | model L|ARGE... |
|00005130| 20 20 20 28 46 6f 72 20 | 57 69 6e 33 32 2c 20 69 | (For |Win32, i|
|00005140| 74 20 69 73 20 61 75 74 | 6f 6d 61 74 69 63 61 6c |t is aut|omatical|
|00005150| 6c 79 20 46 4c 41 54 29 | 2e 0d 0a 20 20 20 20 59 |ly FLAT)|... Y|
|00005160| 6f 75 20 73 68 6f 75 6c | 64 20 61 6c 73 6f 20 63 |ou shoul|d also c|
|00005170| 68 6f 6f 73 65 20 33 38 | 36 20 63 6f 64 65 20 67 |hoose 38|6 code g|
|00005180| 65 6e 65 72 61 74 69 6f | 6e 20 61 6e 64 20 72 65 |eneratio|n and re|
|00005190| 61 6c 20 63 6f 70 72 6f | 63 65 73 73 6f 72 0d 0a |al copro|cessor..|
|000051a0| 20 20 20 20 63 6f 6d 6d | 61 6e 64 73 20 28 69 2e | comm|ands (i.|
|000051b0| 65 2e 2c 20 6e 6f 20 65 | 6d 75 6c 61 74 69 6f 6e |e., no e|mulation|
|000051c0| 29 2e 0d 0a 0d 0a 34 2e | 20 20 41 64 64 20 74 68 |).....4.| Add th|
|000051d0| 65 20 64 65 73 69 72 65 | 64 20 43 4d 41 54 48 20 |e desire|d CMATH |
|000051e0| 6c 69 62 72 61 72 79 20 | 74 6f 20 79 6f 75 72 20 |library |to your |
|000051f0| 70 72 6f 6a 65 63 74 20 | 6c 69 73 74 2e 20 46 6f |project |list. Fo|
|00005200| 72 20 44 4f 53 20 70 72 | 6f 67 72 61 6d 73 2c 0d |r DOS pr|ograms,.|
|00005210| 0a 20 20 20 20 74 68 69 | 73 20 69 73 20 74 68 65 |. thi|s is the|
|00005220| 20 6c 69 62 72 61 72 79 | 20 43 4d 41 54 48 4c 33 | library| CMATHL3|
|00005230| 2e 4c 49 42 2c 20 66 6f | 72 20 57 69 6e 64 6f 77 |.LIB, fo|r Window|
|00005240| 73 33 2e 78 20 79 6f 75 | 20 6e 65 65 64 20 43 4d |s3.x you| need CM|
|00005250| 41 54 48 4c 33 57 2e 4c | 49 42 2c 0d 0a 20 20 20 |ATHL3W.L|IB,.. |
|00005260| 20 66 6f 72 20 57 69 6e | 33 32 2c 20 43 4d 41 54 | for Win|32, CMAT|
|00005270| 48 46 33 57 2e 4c 49 42 | 2e 0d 0a 0d 0a 35 2e 20 |HF3W.LIB|.....5. |
|00005280| 20 49 6e 20 79 6f 75 72 | 20 43 2b 2b 20 70 72 6f | In your| C++ pro|
|00005290| 67 72 61 6d 73 2c 20 64 | 65 63 6c 61 72 65 20 0d |grams, d|eclare .|
|000052a0| 0a 20 20 20 20 20 20 20 | 20 20 23 69 6e 63 6c 75 |. | #inclu|
|000052b0| 64 65 20 3c 6e 65 77 63 | 70 6c 78 2e 68 3e 0d 0a |de <newc|plx.h>..|
|000052c0| 20 20 20 20 46 6f 72 20 | 43 20 6d 6f 64 75 6c 65 | For |C module|
|000052d0| 73 2c 20 64 65 63 6c 61 | 72 65 3a 0d 0a 20 20 20 |s, decla|re:.. |
|000052e0| 20 20 20 20 20 20 23 69 | 6e 63 6c 75 64 65 20 3c | #i|nclude <|
|000052f0| 63 6d 61 74 68 2e 68 3e | 0d 0a 20 20 20 20 49 66 |cmath.h>|.. If|
|00005300| 20 79 6f 75 20 61 72 65 | 20 75 73 69 6e 67 20 4f | you are| using O|
|00005310| 62 6a 65 63 74 57 69 6e | 64 6f 77 73 2c 20 3c 6e |bjectWin|dows, <n|
|00005320| 65 77 63 70 6c 78 2e 68 | 3e 20 6f 72 20 3c 63 6d |ewcplx.h|> or <cm|
|00005330| 61 74 68 2e 68 3e 0d 0a | 20 20 20 20 6d 75 73 74 |ath.h>..| must|
|00005340| 20 62 65 20 69 6e 63 6c | 75 64 65 64 20 61 66 74 | be incl|uded aft|
|00005350| 65 72 28 21 29 20 74 68 | 65 20 69 6e 63 6c 75 64 |er(!) th|e includ|
|00005360| 65 20 66 69 6c 65 73 20 | 66 6f 72 20 4f 57 4c 2e |e files |for OWL.|
|00005370| 0d 0a 0d 0a 36 2e 20 31 | 36 2d 62 69 74 20 70 72 |....6. 1|6-bit pr|
|00005380| 6f 67 72 61 6d 73 20 6f | 6e 6c 79 3a 0d 0a 20 20 |ograms o|nly:.. |
|00005390| 20 20 2a 20 20 20 49 66 | 20 74 68 65 20 6c 69 6e | * If| the lin|
|000053a0| 6b 65 72 20 6f 70 74 69 | 6f 6e 20 22 70 72 6f 63 |ker opti|on "proc|
|000053b0| 65 73 73 20 65 78 74 65 | 6e 64 65 64 20 64 69 63 |ess exte|nded dic|
|000053c0| 74 69 6f 6e 61 72 69 65 | 73 22 20 69 73 20 61 76 |tionarie|s" is av|
|000053d0| 61 69 6c 61 62 6c 65 0d | 0a 20 20 20 20 20 20 20 |ailable.|. |
|000053e0| 20 69 6e 20 79 6f 75 72 | 20 76 65 72 73 69 6f 6e | in your| version|
|000053f0| 20 6f 66 20 42 6f 72 6c | 61 6e 64 20 43 2b 2b 2c | of Borl|and C++,|
|00005400| 20 79 6f 75 20 6d 75 73 | 74 20 73 77 69 74 63 68 | you mus|t switch|
|00005410| 20 69 74 20 6f 6e 2e 0d | 0a 20 20 20 20 20 20 20 | it on..|. |
|00005420| 20 4f 74 68 65 72 77 69 | 73 65 2c 20 79 6f 75 20 | Otherwi|se, you |
|00005430| 6d 69 67 68 74 20 67 65 | 74 20 61 20 22 54 61 62 |might ge|t a "Tab|
|00005440| 6c 65 20 6c 69 6d 69 74 | 20 65 78 63 65 65 64 65 |le limit| exceede|
|00005450| 64 22 20 6c 69 6e 6b 65 | 72 20 65 72 72 6f 72 2e |d" linke|r error.|
|00005460| 0d 0a 0d 0a 20 20 20 20 | 2a 20 20 20 43 4d 41 54 |.... |* CMAT|
|00005470| 48 20 77 6f 72 6b 73 20 | 77 69 74 68 20 42 6f 72 |H works |with Bor|
|00005480| 6c 61 6e 64 20 28 54 75 | 72 62 6f 29 20 43 2b 2b |land (Tu|rbo) C++|
|00005490| 2c 20 76 65 72 73 69 6f | 6e 20 33 2e 30 20 6f 72 |, versio|n 3.0 or|
|000054a0| 20 68 69 67 68 65 72 2e | 20 53 69 6e 63 65 2c 0d | higher.| Since,.|
|000054b0| 0a 20 20 20 20 20 20 20 | 20 66 72 6f 6d 20 76 65 |. | from ve|
|000054c0| 72 73 69 6f 6e 20 34 2e | 30 20 6f 6e 2c 20 42 6f |rsion 4.|0 on, Bo|
|000054d0| 72 6c 61 6e 64 20 63 68 | 61 6e 67 65 64 20 74 68 |rland ch|anged th|
|000054e0| 65 20 6e 61 6d 65 20 6f | 66 20 74 68 65 20 65 72 |e name o|f the er|
|000054f0| 72 6f 72 20 68 61 6e 64 | 6c 69 6e 67 0d 0a 20 20 |ror hand|ling.. |
|00005500| 20 20 20 20 20 20 72 6f | 75 74 69 6e 65 20 6d 61 | ro|utine ma|
|00005510| 74 68 65 72 72 20 28 77 | 69 74 68 6f 75 74 20 75 |therr (w|ithout u|
|00005520| 6e 64 65 72 62 61 72 29 | 20 69 6e 74 6f 20 5f 6d |nderbar)| into _m|
|00005530| 61 74 68 65 72 72 20 28 | 77 69 74 68 20 61 20 6c |atherr (|with a l|
|00005540| 65 61 64 69 6e 67 0d 0a | 20 20 20 20 20 20 20 20 |eading..| |
|00005550| 75 6e 64 65 72 62 61 72 | 29 2c 20 61 6e 79 20 31 |underbar|), any 1|
|00005560| 36 2d 62 69 74 20 70 72 | 6f 67 72 61 6d 20 75 73 |6-bit pr|ogram us|
|00005570| 69 6e 67 20 43 4d 41 54 | 48 20 68 61 73 20 74 6f |ing CMAT|H has to|
|00005580| 20 63 61 6c 6c 20 61 20 | 6d 61 63 72 6f 2c 0d 0a | call a |macro,..|
|00005590| 20 20 20 20 20 20 20 20 | 4e 45 57 4d 41 54 48 45 | |NEWMATHE|
|000055a0| 52 52 2c 20 77 68 69 63 | 68 20 74 61 6b 65 73 20 |RR, whic|h takes |
|000055b0| 20 63 61 72 65 20 6f 66 | 20 72 65 64 69 72 65 63 | care of| redirec|
|000055c0| 74 69 6e 67 20 63 61 6c | 6c 73 20 74 6f 20 5f 6d |ting cal|ls to _m|
|000055d0| 61 74 68 65 72 72 2c 0d | 0a 20 20 20 20 20 20 20 |atherr,.|. |
|000055e0| 20 69 66 20 6e 65 63 65 | 73 73 61 72 79 2e 20 59 | if nece|ssary. Y|
|000055f0| 6f 75 20 73 68 6f 75 6c | 64 20 70 6c 61 63 65 20 |ou shoul|d place |
|00005600| 74 68 65 20 63 61 6c 6c | 20 74 6f 20 4e 45 57 4d |the call| to NEWM|
|00005610| 41 54 48 45 52 52 20 69 | 6e 74 6f 20 74 68 65 0d |ATHERR i|nto the.|
|00005620| 0a 20 20 20 20 20 20 20 | 20 6d 6f 64 75 6c 65 20 |. | module |
|00005630| 63 6f 6e 74 61 69 6e 69 | 6e 67 20 20 6d 61 69 6e |containi|ng main|
|00005640| 28 29 20 6f 72 20 4f 77 | 6c 4d 61 69 6e 28 29 3a |() or Ow|lMain():|
|00005650| 0d 0a 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00005660| 20 23 69 6e 63 6c 75 64 | 65 20 2e 2e 2e 2e 2e 0d | #includ|e ......|
|00005670| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 23 69 |. | #i|
|00005680| 6e 63 6c 75 64 65 20 3c | 6e 65 78 63 70 6c 78 2e |nclude <|nexcplx.|
|00005690| 68 3e 20 20 20 2f 2a 20 | 6f 72 3a 20 23 69 6e 63 |h> /* |or: #inc|
|000056a0| 6c 75 64 65 20 3c 63 6d | 61 74 68 2e 68 3e 20 2a |lude <cm|ath.h> *|
|000056b0| 2f 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |/.. | |
|000056c0| 4e 45 57 4d 41 54 48 45 | 52 52 0d 0a 0d 0a 20 20 |NEWMATHE|RR.... |
|000056d0| 20 20 20 20 20 20 20 20 | 20 20 20 69 6e 74 20 6d | | int m|
|000056e0| 61 69 6e 28 20 76 6f 69 | 64 20 29 0d 0a 20 20 20 |ain( voi|d ).. |
|000056f0| 20 20 20 20 20 20 20 20 | 20 20 7b 20 20 20 20 2e | | { .|
|00005700| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 20 20 20 7d 0d 0a 0d |........|. }...|
|00005710| 0a 20 20 20 20 20 20 20 | 20 49 66 20 79 6f 75 20 |. | If you |
|00005720| 66 6f 72 67 65 74 20 74 | 6f 20 63 61 6c 6c 20 4e |forget t|o call N|
|00005730| 45 57 4d 41 54 48 45 52 | 52 2c 20 79 6f 75 20 77 |EWMATHER|R, you w|
|00005740| 69 6c 6c 20 67 65 74 20 | 61 20 6c 69 6e 6b 65 72 |ill get |a linker|
|00005750| 20 65 72 72 6f 72 0d 0a | 20 20 20 20 20 20 20 20 | error..| |
|00005760| 22 55 6e 72 65 73 6f 6c | 76 65 64 20 65 78 74 65 |"Unresol|ved exte|
|00005770| 72 6e 61 6c 20 5f 6d 61 | 74 68 65 72 72 22 20 69 |rnal _ma|therr" i|
|00005780| 6e 20 74 68 65 20 42 6f | 72 6c 61 6e 64 20 43 20 |n the Bo|rland C |
|00005790| 76 65 72 73 69 6f 6e 73 | 20 66 72 6f 6d 20 34 2e |versions| from 4.|
|000057a0| 30 20 6f 6e 2e 0d 0a 0d | 0a 20 20 20 20 20 20 20 |0 on....|. |
|000057b0| 20 49 6e 63 6c 75 73 69 | 6f 6e 20 6f 66 20 74 68 | Inclusi|on of th|
|000057c0| 65 20 6d 61 63 72 6f 20 | 4e 45 57 4d 41 54 48 45 |e macro |NEWMATHE|
|000057d0| 52 52 20 69 73 20 6e 6f | 74 20 6e 65 65 64 65 64 |RR is no|t needed|
|000057e0| 20 66 6f 72 20 33 32 2d | 62 69 74 20 70 72 6f 67 | for 32-|bit prog|
|000057f0| 72 61 6d 73 2e 0d 0a 0d | 0a 41 66 74 65 72 20 74 |rams....|.After t|
|00005800| 68 65 73 65 20 70 72 65 | 70 61 72 61 74 69 6f 6e |hese pre|paration|
|00005810| 73 2c 20 61 6c 6c 20 43 | 4d 41 54 48 20 66 75 6e |s, all C|MATH fun|
|00005820| 63 74 69 6f 6e 73 20 61 | 72 65 20 61 76 61 69 6c |ctions a|re avail|
|00005830| 61 62 6c 65 20 66 6f 72 | 20 79 6f 75 72 20 70 72 |able for| your pr|
|00005840| 6f 67 72 61 6d 73 2e 0d | 0a 0d 0a 0d 0a 32 2e 32 |ograms..|.....2.2|
|00005850| 20 44 65 2d 49 6e 73 74 | 61 6c 6c 61 74 69 6f 6e | De-Inst|allation|
|00005860| 0d 0a 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |..------|--------|
|00005870| 2d 2d 2d 2d 2d 0d 0a 0d | 0a 53 68 6f 75 6c 64 20 |-----...|.Should |
|00005880| 79 6f 75 20 77 69 73 68 | 20 74 6f 20 72 65 6d 6f |you wish| to remo|
|00005890| 76 65 20 43 4d 41 54 48 | 20 66 72 6f 6d 20 79 6f |ve CMATH| from yo|
|000058a0| 75 72 20 63 6f 6d 70 75 | 74 65 72 20 61 66 74 65 |ur compu|ter afte|
|000058b0| 72 20 74 65 73 74 69 6e | 67 2c 20 70 6c 65 61 73 |r testin|g, pleas|
|000058c0| 65 0d 0a 73 69 6d 70 6c | 79 20 64 65 6c 65 74 65 |e..simpl|y delete|
|000058d0| 20 74 68 65 20 64 69 72 | 65 63 74 6f 72 79 20 43 | the dir|ectory C|
|000058e0| 4d 41 54 48 20 77 69 74 | 68 20 69 74 73 20 73 75 |MATH wit|h its su|
|000058f0| 62 64 69 72 65 63 74 6f | 72 69 65 73 2e 20 54 68 |bdirecto|ries. Th|
|00005900| 65 20 69 6e 73 74 61 6c | 6c 61 74 69 6f 6e 0d 0a |e instal|lation..|
|00005910| 6f 66 20 43 4d 41 54 48 | 20 64 6f 65 73 20 6e 6f |of CMATH| does no|
|00005920| 74 20 61 66 66 65 63 74 | 20 61 6e 79 20 66 69 6c |t affect| any fil|
|00005930| 65 73 20 6f 75 74 73 69 | 64 65 20 69 74 73 20 6f |es outsi|de its o|
|00005940| 77 6e 20 64 69 72 65 63 | 74 6f 72 79 2c 20 73 6f |wn direc|tory, so|
|00005950| 20 74 68 65 72 65 0d 0a | 69 73 20 6e 6f 74 68 69 | there..|is nothi|
|00005960| 6e 67 20 65 6c 73 65 20 | 74 6f 20 67 65 74 20 72 |ng else |to get r|
|00005970| 69 64 20 6f 66 2e 0d 0a | 0d 0a 0d 0a 0d 0a 2a 2a |id of...|......**|
|00005980| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005990| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000059a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000059b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000059c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 0d 0a 2a 20 20 20 |********|**..* |
|000059d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000059e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000059f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005a00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005a10| 20 20 20 20 20 20 20 2a | 0d 0a 2a 2a 2a 2a 2a 2a | *|..******|
|00005a20| 2a 20 20 20 20 20 20 20 | 33 2e 20 4f 76 65 72 76 |* |3. Overv|
|00005a30| 69 65 77 20 6f 76 65 72 | 20 74 68 65 20 46 75 6e |iew over| the Fun|
|00005a40| 63 74 69 6f 6e 73 20 6f | 66 20 43 4d 41 54 48 20 |ctions o|f CMATH |
|00005a50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2a | | *|
|00005a60| 2a 2a 2a 2a 2a 2a 0d 0a | 2a 20 20 20 20 20 20 20 |******..|* |
|00005a70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005a80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005a90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005aa0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005ab0| 20 20 20 2a 0d 0a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a | *..**|********|
|00005ac0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005ad0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005ae0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005af0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005b00| 2a 2a 0d 0a 0d 0a 46 6f | 72 20 43 2b 2b 2c 20 61 |**....Fo|r C++, a|
|00005b10| 6c 6c 20 66 75 6e 63 74 | 69 6f 6e 73 20 6f 66 20 |ll funct|ions of |
|00005b20| 43 4d 41 54 48 20 61 72 | 65 20 64 65 63 6c 61 72 |CMATH ar|e declar|
|00005b30| 65 64 20 69 6e 20 3c 6e | 65 78 63 70 6c 78 2e 68 |ed in <n|excplx.h|
|00005b40| 3e 2e 0d 0a 46 6f 72 20 | 43 2c 20 74 68 65 72 65 |>...For |C, there|
|00005b50| 20 61 72 65 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 | are the| followi|
|00005b60| 6e 67 20 74 68 72 65 65 | 20 69 6e 63 6c 75 64 65 |ng three| include|
|00005b70| 2d 66 69 6c 65 73 3a 0d | 0a 3c 63 66 6d 61 74 68 |-files:.|.<cfmath|
|00005b80| 2e 68 3e 20 64 65 63 6c | 61 72 65 73 20 61 6c 6c |.h> decl|ares all|
|00005b90| 20 66 75 6e 63 74 69 6f | 6e 73 20 66 6f 72 20 73 | functio|ns for s|
|00005ba0| 69 6e 67 6c 65 20 70 72 | 65 63 69 73 69 6f 6e 20 |ingle pr|ecision |
|00005bb0| 28 64 61 74 61 20 74 79 | 70 65 20 66 43 6f 6d 70 |(data ty|pe fComp|
|00005bc0| 6c 65 78 29 2c 0d 0a 3c | 63 64 6d 61 74 68 2e 68 |lex),..<|cdmath.h|
|00005bd0| 3e 20 63 6f 6e 74 61 69 | 6e 73 20 61 6c 6c 20 64 |> contai|ns all d|
|00005be0| 6f 75 62 6c 65 2d 70 72 | 65 63 69 73 69 6f 6e 20 |ouble-pr|ecision |
|00005bf0| 66 75 6e 63 74 69 6f 6e | 73 20 28 64 61 74 61 20 |function|s (data |
|00005c00| 74 79 70 65 20 64 43 6f | 6d 70 6c 65 78 29 2c 20 |type dCo|mplex), |
|00005c10| 61 6e 64 0d 0a 3c 63 65 | 6d 61 74 68 2e 68 3e 20 |and..<ce|math.h> |
|00005c20| 6c 69 73 74 73 20 61 6c | 6c 20 66 75 6e 63 74 69 |lists al|l functi|
|00005c30| 6f 6e 73 20 66 6f 72 20 | 65 78 74 65 6e 64 65 64 |ons for |extended|
|00005c40| 20 70 72 65 63 69 73 69 | 6f 6e 20 28 64 61 74 61 | precisi|on (data|
|00005c50| 20 74 79 70 65 20 65 43 | 6f 6d 70 6c 65 78 29 2e | type eC|omplex).|
|00005c60| 0d 0a 54 68 65 20 69 6e | 63 6c 75 64 65 2d 66 69 |..The in|clude-fi|
|00005c70| 6c 65 20 3c 63 6d 61 74 | 68 2e 68 3e 20 75 6e 69 |le <cmat|h.h> uni|
|00005c80| 74 65 73 20 74 68 65 20 | 74 68 72 65 65 20 69 6e |tes the |three in|
|00005c90| 63 6c 75 64 65 2d 66 69 | 6c 65 73 20 6a 75 73 74 |clude-fi|les just|
|00005ca0| 20 6d 65 6e 74 69 6f 6e | 65 64 2e 0d 0a 0d 0a 49 | mention|ed.....I|
|00005cb0| 6e 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 2c |n the fo|llowing,|
|00005cc0| 20 69 74 20 69 73 20 6f | 66 74 65 6e 20 6f 6e 6c | it is o|ften onl|
|00005cd0| 79 20 74 68 65 20 66 43 | 6f 6d 70 6c 65 78 2d 76 |y the fC|omplex-v|
|00005ce0| 65 72 73 69 6f 6e 20 6f | 66 20 61 20 66 75 6e 63 |ersion o|f a func|
|00005cf0| 74 69 6f 6e 20 74 68 61 | 74 0d 0a 69 73 20 65 78 |tion tha|t..is ex|
|00005d00| 70 6c 69 63 69 74 6c 79 | 20 6d 65 6e 74 69 6f 6e |plicitly| mention|
|00005d10| 65 64 2e 20 54 68 65 20 | 76 65 72 73 69 6f 6e 73 |ed. The |versions|
|00005d20| 20 66 6f 72 20 64 43 6f | 6d 70 6c 65 78 20 61 6e | for dCo|mplex an|
|00005d30| 64 20 65 43 6f 6d 70 6c | 65 78 20 61 72 65 20 61 |d eCompl|ex are a|
|00005d40| 6c 77 61 79 73 0d 0a 65 | 78 61 63 74 6c 79 20 61 |lways..e|xactly a|
|00005d50| 6e 61 6c 6f 67 6f 75 73 | 2e 0d 0a 0d 0a 41 6c 6c |nalogous|.....All|
|00005d60| 20 66 75 6e 63 74 69 6f | 6e 73 20 66 6f 72 20 74 | functio|ns for t|
|00005d70| 68 65 20 6c 61 6e 67 75 | 61 67 65 20 43 20 68 61 |he langu|age C ha|
|00005d80| 76 65 20 61 20 70 72 65 | 66 69 78 20 64 65 6e 6f |ve a pre|fix deno|
|00005d90| 74 69 6e 67 20 74 68 65 | 20 64 61 74 61 20 74 79 |ting the| data ty|
|00005da0| 70 65 20 6f 6e 0d 0a 77 | 68 69 63 68 20 74 68 65 |pe on..w|hich the|
|00005db0| 20 66 75 6e 63 74 69 6f | 6e 20 77 6f 72 6b 73 3a | functio|n works:|
|00005dc0| 0d 0a 22 63 66 5f 22 20 | 73 74 61 6e 64 73 20 66 |.."cf_" |stands f|
|00005dd0| 6f 72 20 73 69 6e 67 6c | 65 20 70 72 65 63 69 73 |or singl|e precis|
|00005de0| 69 6f 6e 20 28 61 72 67 | 75 6d 65 6e 74 73 20 61 |ion (arg|uments a|
|00005df0| 6e 64 20 72 65 74 75 72 | 6e 20 76 61 6c 75 65 73 |nd retur|n values|
|00005e00| 20 6f 66 20 74 68 65 20 | 64 61 74 61 0d 0a 20 20 | of the |data.. |
|00005e10| 20 20 20 20 74 79 70 65 | 20 66 43 6f 6d 70 6c 65 | type| fComple|
|00005e20| 78 2c 20 73 6f 6d 65 74 | 69 6d 65 73 20 74 6f 67 |x, somet|imes tog|
|00005e30| 65 74 68 65 72 20 77 69 | 74 68 20 66 6c 6f 61 74 |ether wi|th float|
|00005e40| 29 2c 0d 0a 22 63 64 5f | 22 20 73 74 61 6e 64 73 |),.."cd_|" stands|
|00005e50| 20 66 6f 72 20 64 6f 75 | 62 6c 65 20 70 72 65 63 | for dou|ble prec|
|00005e60| 69 73 69 6f 6e 20 28 64 | 43 6f 6d 70 6c 65 78 20 |ision (d|Complex |
|00005e70| 61 6e 64 20 64 6f 75 62 | 6c 65 29 2c 20 77 68 65 |and doub|le), whe|
|00005e80| 72 65 61 73 0d 0a 22 63 | 65 5f 22 20 64 65 6e 6f |reas.."c|e_" deno|
|00005e90| 74 65 73 20 65 78 74 65 | 6e 64 65 64 2d 70 72 65 |tes exte|nded-pre|
|00005ea0| 63 69 73 69 6f 6e 20 66 | 75 6e 63 74 69 6f 6e 73 |cision f|unctions|
|00005eb0| 2e 0d 0a 0d 0a 49 6e 20 | 43 2b 2b 2c 20 73 79 6e |.....In |C++, syn|
|00005ec0| 6f 6e 79 6d 73 20 61 72 | 65 20 64 65 66 69 6e 65 |onyms ar|e define|
|00005ed0| 64 20 66 6f 72 20 61 6c | 6c 20 74 68 65 73 65 20 |d for al|l these |
|00005ee0| 66 75 6e 63 74 69 6f 6e | 73 2e 20 54 68 65 20 73 |function|s. The s|
|00005ef0| 79 6e 6f 6e 79 6d 73 20 | 64 6f 20 6e 6f 74 0d 0a |ynonyms |do not..|
|00005f00| 68 61 76 65 20 61 20 70 | 72 65 66 69 78 2c 20 73 |have a p|refix, s|
|00005f10| 69 6e 63 65 20 74 68 65 | 20 64 61 74 61 20 74 79 |ince the| data ty|
|00005f20| 70 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 69 |pe infor|mation i|
|00005f30| 73 20 69 6d 70 6c 69 63 | 69 74 6c 79 20 68 61 6e |s implic|itly han|
|00005f40| 64 6c 65 64 20 62 79 20 | 74 68 65 0d 0a 43 2b 2b |dled by |the..C++|
|00005f50| 20 63 6f 6d 70 69 6c 65 | 72 2e 20 54 68 65 20 43 | compile|r. The C|
|00005f60| 2b 2b 20 66 75 6e 63 74 | 69 6f 6e 20 6e 61 6d 65 |++ funct|ion name|
|00005f70| 73 20 61 72 65 20 61 6c | 77 61 79 73 20 69 64 65 |s are al|ways ide|
|00005f80| 6e 74 69 63 61 6c 20 74 | 6f 20 74 68 6f 73 65 20 |ntical t|o those |
|00005f90| 66 6f 75 6e 64 0d 0a 69 | 6e 20 74 68 65 20 63 6f |found..i|n the co|
|00005fa0| 6d 70 6c 65 78 20 63 6c | 61 73 73 20 6c 69 62 72 |mplex cl|ass libr|
|00005fb0| 61 72 69 65 73 20 28 69 | 66 20 74 68 65 20 72 65 |aries (i|f the re|
|00005fc0| 73 70 65 63 74 69 76 65 | 20 66 75 6e 63 74 69 6f |spective| functio|
|00005fd0| 6e 20 65 78 69 73 74 73 | 20 74 68 65 72 65 29 2e |n exists| there).|
|00005fe0| 0d 0a 4f 66 20 63 6f 75 | 72 73 65 2c 20 69 66 20 |..Of cou|rse, if |
|00005ff0| 79 6f 75 20 77 69 73 68 | 20 74 6f 20 75 73 65 20 |you wish| to use |
|00006000| 74 68 65 20 43 20 66 75 | 6e 63 74 69 6f 6e 20 6e |the C fu|nction n|
|00006010| 61 6d 65 73 20 69 6e 20 | 79 6f 75 72 20 43 2b 2b |ames in |your C++|
|00006020| 20 6d 6f 64 75 6c 65 73 | 2c 0d 0a 79 6f 75 20 63 | modules|,..you c|
|00006030| 61 6e 20 64 6f 20 73 6f | 20 62 79 20 69 6e 63 6c |an do so| by incl|
|00006040| 75 64 69 6e 67 20 3c 63 | 6d 61 74 68 2e 68 3e 20 |uding <c|math.h> |
|00006050| 69 6e 73 74 65 61 64 20 | 6f 66 20 3c 6e 65 77 63 |instead |of <newc|
|00006060| 70 6c 78 2e 68 3e 2e 0d | 0a 0d 0a 0d 0a 33 2e 31 |plx.h>..|.....3.1|
|00006070| 20 49 6e 69 74 69 61 6c | 69 7a 61 74 69 6f 6e 20 | Initial|ization |
|00006080| 6f 66 20 43 6f 6d 70 6c | 65 78 20 4e 75 6d 62 65 |of Compl|ex Numbe|
|00006090| 72 73 0d 0a 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |rs..----|--------|
|000060a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000060b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0d 0a 0d 0a 46 6f 72 |--------|-....For|
|000060c0| 20 43 2b 2b 20 6d 6f 64 | 75 6c 65 73 2c 20 74 68 | C++ mod|ules, th|
|000060d0| 65 72 65 20 61 72 65 20 | 73 65 76 65 72 61 6c 20 |ere are |several |
|000060e0| 6f 76 65 72 6c 6f 61 64 | 65 64 20 63 6f 6e 73 74 |overload|ed const|
|000060f0| 72 75 63 74 6f 72 73 3a | 0d 0a 20 20 20 20 20 20 |ructors:|.. |
|00006100| 20 20 20 20 66 43 6f 6d | 70 6c 65 78 20 66 43 6f | fCom|plex fCo|
|00006110| 6d 70 6c 65 78 28 20 66 | 6c 6f 61 74 20 52 65 50 |mplex( f|loat ReP|
|00006120| 61 72 74 2c 20 66 6c 6f | 61 74 20 49 6d 50 61 72 |art, flo|at ImPar|
|00006130| 74 20 29 3b 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |t );.. | |
|00006140| 66 43 6f 6d 70 6c 65 78 | 20 66 43 6f 6d 70 6c 65 |fComplex| fComple|
|00006150| 78 28 20 66 6c 6f 61 74 | 20 52 65 50 61 72 74 20 |x( float| RePart |
|00006160| 29 3b 20 20 2f 2f 20 69 | 6d 61 67 69 6e 61 72 79 |); // i|maginary|
|00006170| 20 70 61 72 74 20 61 6c | 77 61 79 73 20 30 0d 0a | part al|ways 0..|
|00006180| 20 20 20 20 20 20 20 20 | 20 20 66 43 6f 6d 70 6c | | fCompl|
|00006190| 65 78 20 66 43 6f 6d 70 | 6c 65 78 28 20 64 43 6f |ex fComp|lex( dCo|
|000061a0| 6d 70 6c 65 78 20 29 3b | 0d 0a 20 20 20 20 20 20 |mplex );|.. |
|000061b0| 20 20 20 20 66 43 6f 6d | 70 6c 65 78 20 66 43 6f | fCom|plex fCo|
|000061c0| 6d 70 6c 65 78 28 20 65 | 43 6f 6d 70 6c 65 78 20 |mplex( e|Complex |
|000061d0| 29 3b 0d 0a 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |);.... | |
|000061e0| 54 68 65 20 69 6e 74 65 | 72 63 6f 6e 76 65 72 73 |The inte|rconvers|
|000061f0| 69 6f 6e 20 62 65 74 77 | 65 65 6e 20 74 68 65 20 |ion betw|een the |
|00006200| 63 6f 6d 70 6c 65 78 20 | 74 79 70 65 73 20 6f 66 |complex |types of|
|00006210| 20 64 69 66 66 65 72 65 | 6e 74 0d 0a 20 20 20 20 | differe|nt.. |
|00006220| 20 20 20 20 20 20 6c 65 | 76 65 6c 20 6f 66 20 61 | le|vel of a|
|00006230| 63 63 75 72 61 63 79 20 | 6d 61 79 2c 20 69 6e 20 |ccuracy |may, in |
|00006240| 74 68 65 20 63 6f 75 72 | 73 65 20 6f 66 20 64 6f |the cour|se of do|
|00006250| 77 6e 2d 63 6f 6e 76 65 | 72 73 69 6f 6e 73 2c 0d |wn-conve|rsions,.|
|00006260| 0a 20 20 20 20 20 20 20 | 20 20 20 6c 65 61 64 20 |. | lead |
|00006270| 74 6f 20 4f 56 45 52 46 | 4c 4f 57 20 65 72 72 6f |to OVERF|LOW erro|
|00006280| 72 73 2e 20 54 68 65 73 | 65 20 61 72 65 20 61 72 |rs. Thes|e are ar|
|00006290| 65 20 63 61 75 67 68 74 | 20 61 6e 64 20 74 72 65 |e caught| and tre|
|000062a0| 61 74 65 64 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |ated.. | |
|000062b0| 76 69 61 20 5f 6d 61 74 | 68 65 72 72 2e 0d 0a 20 |via _mat|herr... |
|000062c0| 20 20 20 20 20 20 20 20 | 20 53 69 6d 69 6c 61 72 | | Similar|
|000062d0| 6c 79 20 74 6f 20 74 68 | 65 20 63 6f 6e 73 74 72 |ly to th|e constr|
|000062e0| 75 63 74 6f 72 20 66 43 | 6f 6d 70 6c 65 78 28 29 |uctor fC|omplex()|
|000062f0| 2c 20 61 6c 73 6f 20 64 | 43 6f 6d 70 6c 65 78 28 |, also d|Complex(|
|00006300| 29 20 61 6e 64 0d 0a 20 | 20 20 20 20 20 20 20 20 |) and.. | |
|00006310| 20 65 43 6f 6d 70 6c 65 | 78 28 29 20 65 78 69 73 | eComple|x() exis|
|00006320| 74 20 69 6e 20 6f 76 65 | 72 6c 6f 61 64 65 64 20 |t in ove|rloaded |
|00006330| 76 65 72 73 69 6f 6e 73 | 20 70 65 72 66 6f 72 6d |versions| perform|
|00006340| 69 6e 67 20 74 68 65 20 | 73 61 6d 65 0d 0a 20 20 |ing the |same.. |
|00006350| 20 20 20 20 20 20 20 20 | 74 61 73 6b 73 20 66 6f | |tasks fo|
|00006360| 72 20 74 68 65 20 63 6c | 61 73 73 65 73 20 64 43 |r the cl|asses dC|
|00006370| 6f 6d 70 6c 65 78 20 61 | 6e 64 20 65 43 6f 6d 70 |omplex a|nd eComp|
|00006380| 6c 65 78 2c 20 72 65 73 | 70 65 63 74 69 76 65 6c |lex, res|pectivel|
|00006390| 79 2e 0d 0a 0d 0a 41 64 | 64 69 74 69 6f 6e 61 6c |y.....Ad|ditional|
|000063a0| 6c 79 2c 20 62 6f 74 68 | 20 69 6e 20 43 2b 2b 20 |ly, both| in C++ |
|000063b0| 61 6e 64 20 69 6e 20 70 | 6c 61 69 6e 2d 43 20 6d |and in p|lain-C m|
|000063c0| 6f 64 75 6c 65 73 2c 20 | 63 6f 6d 70 6c 65 78 20 |odules, |complex |
|000063d0| 6e 75 6d 62 65 72 73 20 | 6d 61 79 0d 0a 62 65 20 |numbers |may..be |
|000063e0| 69 6e 69 74 69 61 6c 69 | 7a 65 64 20 62 79 20 73 |initiali|zed by s|
|000063f0| 65 70 61 72 61 74 65 6c | 79 20 61 73 73 69 67 6e |eparatel|y assign|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.